public class HashPreimageMap<A,B> extends AbstractPreimageMap<A,B>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HashPreimageMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object a) |
boolean |
containsValue(Object b) |
Set<Map.Entry<A,B>> |
entrySet() |
B |
get(Object a) |
int |
hashCode() |
boolean |
isEmpty() |
Set<A> |
keySet() |
Set<A> |
preimage(B b) |
B |
put(A a,
B b) |
B |
remove(Object a) |
protected B |
removeByPreimage(A a) |
int |
size() |
protected Set<? super A> |
usePreimage(B b) |
Collection<B> |
values() |
wrapPreimage
clone, equals, putAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
public int size()
protected B removeByPreimage(A a)
removeByPreimage
in class AbstractPreimageMap<A,B>
public void clear()
public boolean containsKey(Object a)
containsKey
in interface Map<A,B>
containsKey
in class AbstractMap<A,B>
public boolean containsValue(Object b)
containsValue
in interface Map<A,B>
containsValue
in class AbstractMap<A,B>
public int hashCode()
public boolean isEmpty()
public Collection<B> values()
see also the complete user documentation .