Package org.apache.jena.atlas.iterator
Class NullIterator<T>
- java.lang.Object
-
- org.apache.jena.atlas.iterator.NullIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
public class NullIterator<T> extends java.lang.Object implements java.util.Iterator<T>Null Iterator - also guaranteed shareable and immutable
-
-
Constructor Summary
Constructors Constructor Description NullIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforEachRemaining(java.util.function.Consumer<? super T> action)booleanhasNext()Tnext()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
-