|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
net.infonode.util.collection.notifymap.AbstractChangeNotifyMap
net.infonode.util.collection.notifymap.ChangeNotifyMapWrapper
public class ChangeNotifyMapWrapper
Nested Class Summary | |
---|---|
private class |
ChangeNotifyMapWrapper.Iterator
|
Field Summary | |
---|---|
private Map |
map
|
Constructor Summary | |
---|---|
ChangeNotifyMapWrapper(Map map)
|
Method Summary | |
---|---|
void |
clear()
Removes all elements from this collection.. |
boolean |
containsKey(java.lang.Object key)
Returns true if this map contains the key. |
boolean |
containsValue(java.lang.Object value)
Returns true if this map contains the value. |
java.lang.Object |
get(java.lang.Object key)
Returns the value associated with the key. |
Map |
getMap()
|
boolean |
isEmpty()
Returns true if this collection is empty. |
MapIterator |
iterator()
Returns an iterator for this map. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associate a key with a value. |
java.lang.Object |
remove(java.lang.Object key)
Removes a key and it's value. |
Methods inherited from class net.infonode.util.collection.notifymap.AbstractChangeNotifyMap |
---|
constIterator |
Methods inherited from class net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap |
---|
fireEntriesChanged, fireEntryChanged, fireEntryRemoved, firstListenerAdded, getChangeSignal, getChangeSignalInternal, lastListenerRemoved, listenerAdded, listenerRemoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.infonode.util.collection.notifymap.ConstChangeNotifyMap |
---|
getChangeSignal |
Field Detail |
---|
private Map map
Constructor Detail |
---|
public ChangeNotifyMapWrapper(Map map)
Method Detail |
---|
public Map getMap()
public java.lang.Object get(java.lang.Object key)
ConstMap
key
- the key
public boolean containsKey(java.lang.Object key)
ConstMap
key
- the key
public boolean containsValue(java.lang.Object value)
ConstMap
value
- the value
public boolean isEmpty()
ConstCollection
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
Map
key
- the keyvalue
- the value
public java.lang.Object remove(java.lang.Object key)
Map
key
- the key
public void clear()
Collection
public MapIterator iterator()
Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |