t
204205206207208209210211212213214
{ if ( OldStyle && graph instanceof GraphWithPerform ) { GraphWithPerform g = (GraphWithPerform)graph ; for (Triple t : triples ) g.performDelete(t) ; graph.getEventManager().notifyDeleteArray(graph, triples) ; } else { for (Triple t : triples )
220221222223224225226227228229230
{ if ( OldStyle && graph instanceof GraphWithPerform ) { GraphWithPerform g = (GraphWithPerform)graph ; for (Triple t : triples ) g.performDelete(t) ; graph.getEventManager().notifyDeleteList(graph, triples) ; } else { for (Triple t : triples )
238239240241242243244245246247248
List<Triple> s = IteratorCollection.iteratorToList(it) ; if ( OldStyle && graph instanceof GraphWithPerform ) { GraphWithPerform g = (GraphWithPerform)graph ; for (Triple t : s) g.performDelete(t) ; graph.getEventManager().notifyDeleteIterator(graph, s) ; } else { for (Triple t : s)
262263264265266267268269270271272
List<Triple> s = IteratorCollection.iteratorToList( it ); if ( OldStyle && graph instanceof GraphWithPerform ) { GraphWithPerform g = (GraphWithPerform)graph ; for (Triple t : s ) g.performDelete(t) ; } else { for (Triple t : s ) graph.delete(t) ;