T - the generic typepublic class EmptyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
EmptyIterator()
Instantiates a new empty iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
static <E> java.util.Iterator<E> |
newInstance()
New instance.
|
T |
next() |
void |
remove() |
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public static <E> java.util.Iterator<E> newInstance()
E - the element type