Package org.dmfs.jems2.iterator
Class EmptyIterator<E>
java.lang.Object
org.dmfs.jems2.iterator.BaseIterator<E>
org.dmfs.jems2.iterator.EmptyIterator<E>
- All Implemented Interfaces:
Iterator<E>
An Iterator that is always empty.
Note, there is an empty iterator at Collections.emptyIterator(), but it's not available on older Android versions.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dmfs.jems2.iterator.BaseIterator
equals, hashCode, removeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EmptyIterator
public EmptyIterator()
-
-
Method Details
-
emptyIterator
-
hasNext
public boolean hasNext() -
next
-