de.grogra.xl.util
Class BidirectionalHashMap<K,V>
java.lang.Object
de.grogra.xl.util.BidirectionalHashMap<K,V>
public class BidirectionalHashMap<K,V>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BidirectionalHashMap
public BidirectionalHashMap()
containsKey
public boolean containsKey(K key)
containsValue
public boolean containsValue(V value)
get
public V get(K key)
getKey
public K getKey(V value)
getKeyMap
public java.util.Collection<K> getKeyMap()
getValueMap
public java.util.Collection<V> getValueMap()
put
public void put(K key,
V value)
size
public int size()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object