| Constructor and Description |
|---|
InjectiveMap()
Constructs a new empty map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object obj) |
V |
get(Object key) |
Map<V,K> |
getBackwardMap()
Returns an immutable view of the backward map.
|
Map<K,V> |
getForwardMap()
Returns an immutable view of the forward map.
|
K |
getInverse(Object value)
Returns the key that maps to the specified value, or null if this map contains no mapping for the value.
|
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
void |
removeAll(Collection<? extends K> keys)
Removes the mapping for each of the given keys.
|
int |
size() |
String |
toString() |
String |
toStringNonIdentityItems()
Returns a string description of this map, excluding identity items.
|
Collection<V> |
values() |
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>public boolean equals(Object obj)
public K getInverse(Object value)
public int hashCode()
public void removeAll(Collection<? extends K> keys)
public String toStringNonIdentityItems()
Copyright © 2012 Aarhus University