Package net.thevpc.common.util
Class OpMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
net.thevpc.common.util.OpMap<K,V>
- All Implemented Interfaces:
Map<K,V>
Created by vpc on 3/12/17.
-
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 TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleangetOrCreate(K key) inthashCode()booleanisEmpty()keySet()voidintsize()toString()values()Methods inherited from class java.util.AbstractMap
cloneMethods 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
-
OpMap
-
OpMap
-
OpMap
-
OpMap
-
-
Method Details
-
entrySet
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
get
-
getOrCreate
-
plus
-
mul
-
div
-
neg
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractMap<K,V>
-