Package org.zkoss.clientbind.ui.util
Class BidirectionalMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- org.zkoss.clientbind.ui.util.BidirectionalMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<K,V>
public class BidirectionalMap<K,V> extends java.util.HashMap<K,V>A bidirectional map is a map that preserves the uniqueness of its values as well as that of its keys.- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BidirectionalMap()BidirectionalMap(int i)BidirectionalMap(int i, float v)BidirectionalMap(java.util.Map<? extends K,? extends V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanequals(java.lang.Object o)KgetKey(V value)Returns the key from the given value.inthashCode()Vput(K key, V value)Vremove(java.lang.Object key)
-