| java.lang.Object gnu.kawa.util.GeneralHashTable
All known Subclasses: gnu.expr.NameLookup,
GeneralHashTable | public class GeneralHashTable (Code) | | A generic hash table.
Supports deletions, and re-allocates the table when too big.
The equivalence relation can be customized.
|
num_bindings | protected int num_bindings(Code) | | |
GeneralHashTable | public GeneralHashTable()(Code) | | |
GeneralHashTable | public GeneralHashTable(int capacity)(Code) | | |
clear | public void clear()(Code) | | |
hash | public int hash(Object key)(Code) | | Calculate hash code of a key.
You may need to override this if you override the matches method.
|
rehash | protected void rehash()(Code) | | |
|
|