java.lang.Object
com.hp.hpl.jena.util.iterator.NiceIterator
com.hp.hpl.jena.util.iterator.WrappedIterator
com.hp.hpl.jena.mem.TrackingTripleIterator
com.hp.hpl.jena.mem.StoreTripleIterator
- All Implemented Interfaces:
- com.hp.hpl.jena.util.iterator.ClosableIterator, com.hp.hpl.jena.util.iterator.ExtendedIterator, java.util.Iterator
- 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.
| Fields inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
|
|
Method Summary |
void |
remove()
if .remove() is allowed, delegate to the abse iterator's .remove; otherwise,
throw an UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
A
protected NodeToTriplesMap A
B
protected NodeToTriplesMap B
toNotify
protected com.hp.hpl.jena.graph.Graph toNotify
StoreTripleIterator
public StoreTripleIterator(com.hp.hpl.jena.graph.Graph toNotify,
java.util.Iterator it,
NodeToTriplesMap A,
NodeToTriplesMap B)
remove
public void remove()
- Description copied from class:
com.hp.hpl.jena.util.iterator.WrappedIterator
- if .remove() is allowed, delegate to the abse iterator's .remove; otherwise,
throw an UnsupportedOperationException.