Package eu.bandm.tools.ops
Class HashPreimageMap<A,B>
java.lang.Object
java.util.AbstractMap<A,B>
eu.bandm.tools.ops.AbstractPreimageMap<A,B>
eu.bandm.tools.ops.HashPreimageMap<A,B>
- All Implemented Interfaces:
PreimageMap<A,
,B> Map<A,
B>
DOCME
-
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 eu.bandm.tools.ops.AbstractPreimageMap
wrapPreimage
Methods inherited from class java.util.AbstractMap
clone, putAll, 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, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
HashPreimageMap
public HashPreimageMap()
-
-
Method Details
-
usePreimage
-
put
-
remove
-
size
public int size() -
entrySet
-
removeByPreimage
- Specified by:
removeByPreimage
in classAbstractPreimageMap<A,
B>
-
preimage
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap<A,
B> - Overrides:
containsKey
in classAbstractMap<A,
B>
-
containsValue
- Specified by:
containsValue
in interfaceMap<A,
B> - Overrides:
containsValue
in classAbstractMap<A,
B>
-
get
-
hashCode
public int hashCode()Delegates directly to theforward
map -
equals
Delegates directly to theforward
map. Equality is defined on the level of semantics, not of implementation. -
isEmpty
public boolean isEmpty() -
keySet
-
values
-