public class BidirectionalMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
Constructor and Description |
---|
BidirectionalMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
java.util.List<K> |
getKeysByValue(V value) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> t) |
V |
remove(java.lang.Object key) |
void |
removeValue(V v) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<V> |
values() |
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public void removeValue(V v)
public java.lang.String toString()
toString
in class java.lang.Object