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,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.tools.ops.AbstractPreimageMap
wrapPreimageMethods inherited from class java.util.AbstractMap
clone, putAll, 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, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
HashPreimageMap
public HashPreimageMap()
-
-
Method Details
-
usePreimage
-
put
-
remove
-
size
public int size() -
entrySet
-
removeByPreimage
- Specified by:
removeByPreimagein classAbstractPreimageMap<A,B>
-
preimage
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<A,B> - Overrides:
containsKeyin classAbstractMap<A,B>
-
containsValue
- Specified by:
containsValuein interfaceMap<A,B> - Overrides:
containsValuein classAbstractMap<A,B>
-
get
-
hashCode
public int hashCode()Delegates directly to theforwardmap -
equals
Delegates directly to theforwardmap. Equality is defined on the level of semantics, not of implementation. -
isEmpty
public boolean isEmpty() -
keySet
-
values
-