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


Constructor Index

 o DoubleHashtable()
Creates a new DoublehashTable

Method Index

 o get(Object)
Retrieves a (key, value) pair from the structure
 o getInverse(Object)
Retrieves the inverse of a (key, value) pair from the structure
 o put(Object, Object)
Adds a new (key, value) pair to the structure
 o remove(Object)
Removes a (key,value) pair
 o removeInv(Object)
Removes an inverse (key,value) pair

Constructors

 o DoubleHashtable
public DoubleHashtable()
Creates a new DoublehashTable

Methods

 o put
public void put(Object key,
                Object value)
Adds a new (key, value) pair to the structure

 o get
public Object get(Object key)
Retrieves a (key, value) pair from the structure

 o getInverse
public Object getInverse(Object key)
Retrieves the inverse of a (key, value) pair from the structure

 o remove
public Object remove(Object key)
Removes a (key,value) pair

 o removeInv
public Object removeInv(Object key)
Removes an inverse (key,value) pair


All Packages  Class Hierarchy  This Package  Previous  Next  Index