Collections.emptyIterator() instead@Deprecated
public class EmptyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
EmptyIterator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> EmptyIterator<T> |
getInstance()
Deprecated.
|
boolean |
hasNext()
Deprecated.
|
T |
next()
Deprecated.
|
void |
remove()
Deprecated.
|
public static <T> EmptyIterator<T> getInstance()
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>