java.lang.Object
org.apache.jena.util.iterator.NiceIterator<T>
org.apache.jena.util.iterator.WrappedIterator<Statement>
org.apache.jena.rdf.model.impl.StmtIteratorImpl
- All Implemented Interfaces:
Iterator<Statement>,org.apache.jena.atlas.iterator.IteratorCloseable<Statement>,org.apache.jena.atlas.lib.Closeable,StmtIterator,ClosableIterator<Statement>,ExtendedIterator<Statement>
An implementation of StmtIterator.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.util.iterator.WrappedIterator
close, close, create, createIteratorIterator, createNoRemove, forEachRemaining, 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.ClosableIterator
closeMethods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
andThen, filterDrop, filterKeep, forEach, mapWith, nextOptional, removeNext, toList, toSetMethods inherited from interface java.util.Iterator
forEachRemaining, hasNextMethods inherited from interface org.apache.jena.rdf.model.StmtIterator
toModel
-
Constructor Details
-
StmtIteratorImpl
-
-
Method Details
-
next
return *and remember* the next element. It must be remembered so that remove works whichever next-method is called. -
remove
public void remove()Description copied from class:NiceIteratordefault remove: we have no elements, so we can't remove any. -
nextStatement
Description copied from interface:StmtIteratorReturn the next Statement of the iteration.- Specified by:
nextStatementin interfaceStmtIterator- Returns:
- The next Resource from the iteration.
-