Opus5
Interface HashTable

All Superinterfaces:
Comparable, Container, SearchableContainer
All Known Implementing Classes:
AbstractHashTable

public interface HashTable
extends SearchableContainer

Encapsulates methods common to all hash tables.

Version:
$Id: HashTable.java,v 3.2 1998/07/28 13:45:00 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.

Field Summary
static java.lang.String copyright
           
 
Method Summary
 double getLoadFactor()
          Returns the current load factor for this hash table.
 
Methods inherited from interface Opus5.SearchableContainer
find, insert, isMember, withdraw
 
Methods inherited from interface Opus5.Container
accept, getCount, getEnumeration, isEmpty, isFull, purge
 
Methods inherited from interface Opus5.Comparable
compare, isEQ, isGE, isGT, isLE, isLT, isNE
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

getLoadFactor

public double getLoadFactor()
Returns the current load factor for this hash table. The load factor of a hash table is the number of object in the hash table divided by the size of the table.
Returns:
The load factor for this hash table.
See Also:
AbstractHashTable.getLoadFactor()