E
- the type to iterate.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, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPrevious, previous
reset
public static final OrderedIterator INSTANCE
public static <E> OrderedIterator<E> emptyOrderedIterator()
E
- the element type