public class EmptyIterator extends AbstractEmptyIterator implements ResettableIterator
This class provides an implementation of an empty iterator.
This class provides for binary compatability between Commons Collections
2.1.1 and 3.1 due to issues with IteratorUtils
.
Modifier and Type | Field and Description |
---|---|
static java.util.Iterator |
INSTANCE
Singleton instance of the iterator.
|
static ResettableIterator |
RESETTABLE_INSTANCE
Singleton instance of the iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
EmptyIterator()
Constructor.
|
add, getKey, getValue, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, reset, set, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reset
public static final ResettableIterator RESETTABLE_INSTANCE
public static final java.util.Iterator INSTANCE