public class EmptyMapIterator<K,V> extends AbstractEmptyMapIterator<K,V> implements MapIterator<K,V>, ResettableIterator<K>
| Modifier and Type | Field and Description |
|---|---|
static MapIterator |
INSTANCE
Singleton instance of the iterator.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyMapIterator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MapIterator<K,V> |
emptyMapIterator()
Get a typed instance of the iterator.
|
getKey, getValue, setValueadd, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, reset, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getValue, hasNext, next, remove, setValueresetpublic static final MapIterator INSTANCE
public static <K,V> MapIterator<K,V> emptyMapIterator()
K - the key typeV - the value typeMapIterator