Class ChangeNotifyMapWrapper
java.lang.Object
net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
net.infonode.util.collection.notifymap.AbstractChangeNotifyMap
net.infonode.util.collection.notifymap.ChangeNotifyMapWrapper
- All Implemented Interfaces:
Collection,ConstCollection,ConstMap,Map,ChangeNotifyMap,ConstChangeNotifyMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all elements from this collection..booleancontainsKey(Object key) Returns true if this map contains the key.booleancontainsValue(Object value) Returns true if this map contains the value.Returns the value associated with the key.getMap()booleanisEmpty()Returns true if this collection is empty.iterator()Returns an iterator for this map.Associate a key with a value.Removes a key and it's value.Methods inherited from class net.infonode.util.collection.notifymap.AbstractChangeNotifyMap
constIteratorMethods inherited from class net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
fireEntriesChanged, fireEntryChanged, fireEntryRemoved, firstListenerAdded, getChangeSignal, getChangeSignalInternal, lastListenerRemoved, listenerAdded, listenerRemovedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.infonode.util.collection.notifymap.ConstChangeNotifyMap
getChangeSignal
-
Constructor Details
-
ChangeNotifyMapWrapper
-
-
Method Details
-
getMap
-
get
Description copied from interface:ConstMapReturns the value associated with the key.- Parameters:
key- the key- Returns:
- the value associated with the key, null if no value is associated with the key
-
containsKey
Description copied from interface:ConstMapReturns true if this map contains the key.- Parameters:
key- the key- Returns:
- true if this map contains the key
-
containsValue
Description copied from interface:ConstMapReturns true if this map contains the value.- Parameters:
value- the value- Returns:
- true if this map contains the value
-
isEmpty
public boolean isEmpty()Description copied from interface:ConstCollectionReturns true if this collection is empty.- Returns:
- true if this collection is empty
-
put
Description copied from interface:MapAssociate 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
Description copied from interface:MapRemoves a key and it's value.- Parameters:
key- the key- Returns:
- the value associated with the key, null if no value existed
-
clear
public void clear()Description copied from interface:CollectionRemoves all elements from this collection.. -
iterator
Description copied from interface:MapReturns an iterator for this map.- Returns:
- an iterator for this map
-