Package gaiasky.util
Class TwoWayHashmap<K,V>
- java.lang.Object
-
- gaiasky.util.TwoWayHashmap<K,V>
-
- Type Parameters:
K- Key type in forward map, value in backward mapV- Value type in forward map, key in backward map
public class TwoWayHashmap<K,V> extends java.lang.ObjectSimple two-way hashmap implemented with two maps.
-
-
Constructor Summary
Constructors Constructor Description TwoWayHashmap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(K key, V value)booleancontainsKey(K key)booleancontainsValue(V value)KgetBackward(V key)VgetForward(K key)booleanremoveKey(K key)booleanremoveValue(V value)
-