T
- Data typepublic final class EmptyIterator<T> extends Object implements IterableIterator<T>, Iterator<T>, Iterable<T>
Modifier and Type | Field and Description |
---|---|
protected static EmptyIterator<?> |
STATIC_INSTANCE
Static instance
|
Constructor and Description |
---|
EmptyIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
IterableIterator<T> |
iterator() |
T |
next() |
void |
remove() |
static <T> IterableIterator<T> |
STATIC()
Access the static instance.
|
protected static final EmptyIterator<?> STATIC_INSTANCE
public IterableIterator<T> iterator()
public static <T> IterableIterator<T> STATIC()
T
- type to (not) iterate over