Package org.apache.jena.rdf.model.impl
Class StmtIteratorImpl
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>
,IteratorCloseable<Statement>
,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, forTestingOnly_getBase, hasNext, ofStream
Methods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSet
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.util.iterator.ClosableIterator
close
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
andThen, filterDrop, filterKeep, forEach, mapWith, nextOptional, removeNext, toList, toSet
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext
Methods 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:WrappedIterator
if .remove() is allowed, delegate to the base iterator's .remove; otherwise, throw an UnsupportedOperationException. -
nextStatement
Description copied from interface:StmtIterator
Return the next Statement of the iteration.- Specified by:
nextStatement
in interfaceStmtIterator
- Returns:
- The next Resource from the iteration.
-