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 MapIterator
public java.lang.Object getKey()
ConstMapIterator
getKey
in interface ConstMapIterator
public java.lang.Object getValue()
ConstMapIterator
getValue
in interface ConstMapIterator
public void next()
ConstMapIterator
next
in interface ConstMapIterator
public boolean atEntry()
ConstMapIterator
atEntry
in interface ConstMapIterator