public class EmptyIterator extends java.lang.Object implements MapIterator
| Modifier and Type | Field and Description |
|---|---|
static EmptyIterator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atEntry()
Returns true if the iterator points to an entry in the map.
|
java.lang.Object |
getKey()
Returns the key at the current map entry.
|
java.lang.Object |
getValue()
Returns the value at the current map entry.
|
void |
next()
Advance the iterator to the next entry.
|
void |
remove() |
public static final EmptyIterator INSTANCE
public void remove()
remove in interface MapIteratorpublic java.lang.Object getKey()
ConstMapIteratorgetKey in interface ConstMapIteratorpublic java.lang.Object getValue()
ConstMapIteratorgetValue in interface ConstMapIteratorpublic void next()
ConstMapIteratornext in interface ConstMapIteratorpublic boolean atEntry()
ConstMapIteratoratEntry in interface ConstMapIterator