Package com.jme3.util
Class ListMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.jme3.util.ListMap<K,V>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,
V>
Implementation of a Map that favors iteration speed rather than
get/put speed.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ListMap
public ListMap() -
ListMap
public ListMap(int initialCapacity) -
ListMap
-
-
Method Details
-
size
public int size() -
getEntry
-
getValue
-
getKey
-
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classAbstractMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V> - Overrides:
containsValue
in classAbstractMap<K,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
clone
- Overrides:
clone
in classAbstractMap<K,
V>
-
keySet
-
values
-
entrySet
-