Package net.infonode.util.collection.map
Class EmptyIterator
java.lang.Object
net.infonode.util.collection.map.EmptyIterator
- All Implemented Interfaces:
ConstMapIterator,MapIterator
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
remove
public void remove()- Specified by:
removein interfaceMapIterator
-
getKey
Description copied from interface:ConstMapIteratorReturns the key at the current map entry.- Specified by:
getKeyin interfaceConstMapIterator- Returns:
- the key at the current map entry
-
getValue
Description copied from interface:ConstMapIteratorReturns the value at the current map entry.- Specified by:
getValuein interfaceConstMapIterator- Returns:
- the value at the current map entry
-
next
public void next()Description copied from interface:ConstMapIteratorAdvance the iterator to the next entry.- Specified by:
nextin interfaceConstMapIterator
-
atEntry
public boolean atEntry()Description copied from interface:ConstMapIteratorReturns true if the iterator points to an entry in the map.- Specified by:
atEntryin interfaceConstMapIterator- Returns:
- true if the iterator points to an entry in the map
-