Class StoreTripleIterator

  • All Implemented Interfaces:
    java.util.Iterator<Triple>, 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.