- All Implemented Interfaces:
Iterator<T>
public abstract class NonNullIterator<T>
extends Object
implements Iterator<T>
-
Constructor Summary
Constructors
-
Method Summary
protected abstract @Nullable T
boolean
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NonNullIterator
public NonNullIterator()
-
Method Details
-
hasNext
public final boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
-
getNext
protected abstract @Nullable T getNext()
-
-