java.lang.Object
org.apache.jena.util.iterator.NiceIterator<T>
org.apache.jena.util.iterator.NullIterator<T>
- All Implemented Interfaces:
Iterator<T>,org.apache.jena.atlas.iterator.IteratorCloseable<T>,org.apache.jena.atlas.lib.Closeable,ClosableIterator<T>,ExtendedIterator<T>
An empty iterator. The specialised versions of andThen() eliminate left operands
that are empty iterators from cascaded sequences.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X extends T>
ExtendedIterator<T>make a new iterator, which is us then the other chap.static <T> NullIterator<T>instance()Methods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, asList, asSet, close, close, emptyIterator, filterDrop, filterKeep, hasNext, mapWith, next, remove, 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.ExtendedIterator
forEach, nextOptionalMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NullIterator
public NullIterator()
-
-
Method Details
-
instance
-
andThen
Description copied from class:NiceIteratormake a new iterator, which is us then the other chap.- Specified by:
andThenin interfaceExtendedIterator<T>- Overrides:
andThenin classNiceIterator<T>
-