Class ConstChangeNotifyVectorMap
java.lang.Object
net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
net.infonode.util.collection.notifymap.ConstChangeNotifyVectorMap
- All Implemented Interfaces:
ConstCollection
,ConstMap
,ConstChangeNotifyMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMap
(int index, ConstChangeNotifyMap map) void
Returns an iterator for this map.boolean
containsKey
(Object key) Returns true if this map contains the key.boolean
containsValue
(Object value) Returns true if this map contains the value.protected void
Returns the value associated with the key.getMap
(int index) int
int
getMapIndex
(ConstMap map) boolean
isEmpty()
Returns true if this collection is empty.protected void
void
removeMap
(int index) Methods inherited from class net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap
fireEntriesChanged, fireEntryChanged, fireEntryRemoved, getChangeSignal, getChangeSignalInternal, listenerAdded, listenerRemoved
-
Constructor Details
-
ConstChangeNotifyVectorMap
public ConstChangeNotifyVectorMap()
-
-
Method Details
-
firstListenerAdded
protected void firstListenerAdded()- Overrides:
firstListenerAdded
in classAbstractConstChangeNotifyMap
-
lastListenerRemoved
protected void lastListenerRemoved()- Overrides:
lastListenerRemoved
in classAbstractConstChangeNotifyMap
-
getMapIndex
-
addMap
-
addMap
-
getMapCount
public int getMapCount() -
removeMap
public void removeMap(int index) -
get
Description copied from interface:ConstMap
Returns 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:ConstMap
Returns true if this map contains the key.- Parameters:
key
- the key- Returns:
- true if this map contains the key
-
containsValue
Description copied from interface:ConstMap
Returns 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:ConstCollection
Returns true if this collection is empty.- Returns:
- true if this collection is empty
-
getMap
-
constIterator
Description copied from interface:ConstMap
Returns an iterator for this map.- Returns:
- an iterator for this map
-