@Override @Deprecated public void delete( Iterator<Triple> it ) { List<Triple> s = IteratorCollection.iteratorToList( it ); base.delete( s ); manager.notifyDeleteIterator( graph, s ); }
public void deleteIterator( Iterator<Triple> it, boolean notify ) { List<Triple> L = IteratorCollection.iteratorToList( it ); delete( L, false ); if (notify) manager.notifyDeleteIterator( graph, L ); }
public static void delete(Graph graph, Iterator<Triple> it) { // Materialize to avoid ConcurrentModificationException. 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) graph.delete(t) ; } }