Package net.infonode.util.collection.map
Class ConstVectorMap
java.lang.Object
net.infonode.util.collection.map.ConstVectorMap
- All Implemented Interfaces:
ConstCollection
,ConstMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Returns the value associated with the key.getMap
(int index) int
int
getMapIndex
(ConstMap map) boolean
isEmpty()
Returns true if this collection is empty.removeMap
(int index)
-
Constructor Details
-
ConstVectorMap
public ConstVectorMap()
-
-
Method Details
-
addMap
-
addMap
-
getMapCount
public int getMapCount() -
removeMap
-
get
Description copied from interface:ConstMap
Returns the value associated with the key. -
containsKey
Description copied from interface:ConstMap
Returns true if this map contains the key.- Specified by:
containsKey
in interfaceConstMap
- 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.- Specified by:
containsValue
in interfaceConstMap
- 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.- Specified by:
isEmpty
in interfaceConstCollection
- Returns:
- true if this collection is empty
-
getMap
-
getMapIndex
-
constIterator
Description copied from interface:ConstMap
Returns an iterator for this map.- Specified by:
constIterator
in interfaceConstMap
- Returns:
- an iterator for this map
-