Class TrackingTripleIterator

All Implemented Interfaces:
Iterator<Triple>, IteratorCloseable<Triple>, Closeable, ClosableIterator<Triple>, ExtendedIterator<Triple>
Direct Known Subclasses:

public class TrackingTripleIterator extends WrappedIterator<Triple>
A WrappedIterator which remembers the last object next'ed in a protected instance variable, so that subclasses have access to it during .remove. After a call to forEachRemaining(java.util.function.Consumer<? super org.apache.jena.graph.Triple>) current is null. So calling #remove after #forEachRemaining is not supported.