java.lang.Object
org.apache.jena.util.iterator.NiceIterator<T>
org.apache.jena.util.iterator.WrappedIterator<Triple>
org.apache.jena.mem.TrackingTripleIterator
org.apache.jena.mem.StoreTripleIterator
- All Implemented Interfaces:
Iterator<Triple>,org.apache.jena.atlas.iterator.IteratorCloseable<Triple>,org.apache.jena.atlas.lib.Closeable,ClosableIterator<Triple>,ExtendedIterator<Triple>
An iterator wrapper for NodeToTriplesMap iterators which ensures that
a .remove on the base iterator is copied to the other two maps of this
GraphMem. The current triple (the most recent result of .next) is
tracked by the parent
TrackingTripleIterator so that it
can be removed from the other two maps, which are passed in when this
StoreTripleIterator is created.-
Constructor Summary
ConstructorsConstructorDescriptionStoreTripleIterator(Graph toNotify, Iterator<Triple> it, NodeToTriplesMapBase X, NodeToTriplesMapBase A, NodeToTriplesMapBase B) -
Method Summary
Modifier and TypeMethodDescriptionvoidremove()default remove: we have no elements, so we can't remove any.Methods inherited from class org.apache.jena.mem.TrackingTripleIterator
forEachRemaining, nextMethods inherited from class org.apache.jena.util.iterator.WrappedIterator
close, close, create, createIteratorIterator, createNoRemove, forTestingOnly_getBase, hasNext, ofStreamMethods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSetMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
-
Constructor Details
-
StoreTripleIterator
public StoreTripleIterator(Graph toNotify, Iterator<Triple> it, NodeToTriplesMapBase X, NodeToTriplesMapBase A, NodeToTriplesMapBase B)
-
-
Method Details
-
remove
public void remove()Description copied from class:NiceIteratordefault remove: we have no elements, so we can't remove any.
-