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
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
clone
- Overrides:
clonein classAbstractMap<K,V>
-
keySet
-
values
-
entrySet
-