Class StoreTripleIterator

All Implemented Interfaces:
Iterator<Triple>, org.apache.jena.atlas.iterator.IteratorCloseable<Triple>, org.apache.jena.atlas.lib.Closeable, ClosableIterator<Triple>, ExtendedIterator<Triple>

public class StoreTripleIterator extends TrackingTripleIterator
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.