Package org.mvel2.execution
Class ExecutionHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
org.mvel2.execution.ExecutionHashMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,,V> ExecutionObject
- 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
Modifier and TypeMethodDescriptionentrySet()intkeys()longvoidputIfAbsent(K key, V value) booleanvoidvoidsortByKey(boolean asc) voidvoidsortByValue(boolean asc) values()Methods inherited from class java.util.LinkedHashMap
clear, containsValue, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAllMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, remove, sizeMethods 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, containsKey, equals, hashCode, isEmpty, merge, remove, size
-
Constructor Details
-
ExecutionHashMap
-
-
Method Details
-
put
-
entrySet
-
putAll
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<K,V> - Overrides:
putIfAbsentin classHashMap<K,V>
-
replace
-
replace
-
remove
-
getExecutionObjectId
public int getExecutionObjectId()- Specified by:
getExecutionObjectIdin interfaceExecutionObject
-
memorySize
public long memorySize()- Specified by:
memorySizein interfaceExecutionObject
-
values
-
keys
-
sortByValue
public void sortByValue() -
sortByValue
public void sortByValue(boolean asc) -
sortByKey
public void sortByKey() -
sortByKey
public void sortByKey(boolean asc)
-