Esempio n. 1
0
 @Override
 public void add(List<Triple> arg0) {
   Graph g = GraphFactory.createPlainGraph();
   for (Triple t : arg0) {
     g.add(t);
   }
   add(g);
 }
Esempio n. 2
0
 @Override
 public void add(Triple[] arg0) {
   Graph g = GraphFactory.createPlainGraph();
   for (int i = 0; i < arg0.length; i++) {
     g.add(arg0[i]);
   }
   add(g);
 }
Esempio n. 3
0
 @Override
 public void add(Iterator<Triple> arg0) {
   Graph g = GraphFactory.createPlainGraph();
   while (arg0.hasNext()) {
     Triple t = arg0.next();
     g.add(t);
   }
   add(g);
 }