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()
Checks for next.
|
static <E> java.util.Iterator<E> |
newInstance()
New instance.
|
T |
next()
Next.
|
void |
remove()
Removes the.
|
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 typeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa