public class EmptyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Iterator
with no elements.Constructor and Description |
---|
EmptyIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |