Interface Map
- All Superinterfaces:
Collection
,ConstCollection
,ConstMap
- All Known Subinterfaces:
ChangeNotifyMap
- All Known Implementing Classes:
AbstractChangeNotifyMap
,ChangeNotifyMapWrapper
,MapAdapter
A map.
-
Method Summary
Methods inherited from interface net.infonode.util.collection.Collection
clear
Methods inherited from interface net.infonode.util.collection.ConstCollection
isEmpty
Methods inherited from interface net.infonode.util.collection.map.base.ConstMap
constIterator, containsKey, containsValue, get
-
Method Details
-
put
Associate a key with a value. This will overwrite any existing association.- Parameters:
key
- the keyvalue
- the value- Returns:
- the old value associated with this key, null if no value existed
-
remove
Removes a key and it's value.- Parameters:
key
- the key- Returns:
- the value associated with the key, null if no value existed
-
iterator
MapIterator iterator()Returns an iterator for this map.- Returns:
- an iterator for this map
-