java.lang.Object
org.apache.jena.util.iterator.NiceIterator<T>
org.apache.jena.util.iterator.NullIterator<T>
- All Implemented Interfaces:
Iterator<T>
,IteratorCloseable<T>
,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, 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.ExtendedIterator
forEach, nextOptional
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NullIterator
public NullIterator()
-
-
Method Details
-
instance
-
andThen
Description copied from class:NiceIterator
make a new iterator, which is us then the other chap.- Specified by:
andThen
in interfaceExtendedIterator<T>
- Overrides:
andThen
in classNiceIterator<T>
-