All Packages Class Hierarchy This Package Previous Next Index
Class ORG.opengroup.misc.DoubleHashtable
java.lang.Object
|
+----ORG.opengroup.misc.DoubleHashtable
- public class DoubleHashtable
- extends Object
A structure that maintains two hashtables.
One is the inverse of the other
DoubleHashtable()
- Creates a new DoublehashTable
get(Object)
- Retrieves a (key, value) pair from the structure
getInverse(Object)
- Retrieves the inverse of a (key, value) pair from the structure
put(Object, Object)
- Adds a new (key, value) pair to the structure
remove(Object)
- Removes a (key,value) pair
removeInv(Object)
- Removes an inverse (key,value) pair
DoubleHashtable
public DoubleHashtable()
- Creates a new DoublehashTable
put
public void put(Object key,
Object value)
- Adds a new (key, value) pair to the structure
get
public Object get(Object key)
- Retrieves a (key, value) pair from the structure
getInverse
public Object getInverse(Object key)
- Retrieves the inverse of a (key, value) pair from the structure
remove
public Object remove(Object key)
- Removes a (key,value) pair
removeInv
public Object removeInv(Object key)
- Removes an inverse (key,value) pair
All Packages Class Hierarchy This Package Previous Next Index