Esempio n. 1
0
 @Override
 public void finishedParsing() {
   if (this.hasDirectedEdges) {
     super.setDirectedEdgeSchema(this.directedEdgeSchema);
     for (Edge e : edges) {
       if (e.isDirected()) {
         super.addDirectedEdge(e.getSource(), e.getTarget(), e.getAttributes());
       }
     }
   }
   if (this.hasUndirectedEdges) {
     super.setUndirectedEdgeSchema(this.undirectedEdgeSchema);
     for (Edge e : edges) {
       if (!e.isDirected()) {
         super.addUndirectedEdge(e.getSource(), e.getTarget(), e.getAttributes());
       }
     }
   }
   super.finishedParsing();
   edges = null;
 }
Esempio n. 2
0
  @Override
  public void finishedParsing() {
    this.inputNodesHaveEnded();

    super.finishedParsing();
  }