public class EmptyOrderedIterator<E> extends AbstractEmptyIterator<E> implements OrderedIterator<E>, ResettableIterator<E>
| Modifier and Type | Field and Description |
|---|---|
static OrderedIterator |
INSTANCE
Singleton instance of the iterator.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyOrderedIterator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> OrderedIterator<E> |
emptyOrderedIterator()
Typed instance of the iterator.
|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, reset, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPrevious, previousresetpublic static final OrderedIterator INSTANCE
public static <E> OrderedIterator<E> emptyOrderedIterator()
E - the element type