Please send questions to
st10@humboldt.edu .
/* Cs132Hashable.java 1.0 */
/* by Sharon Tuttle */
/* last modified: 4-23-03 */
/* */
/* a quick'n'dirty interface for an object suitable for */
/* being stored within an instance of a Cs132HashTable. */
public interface Cs132Hashable
{
/*------------------------------------------------------------
hash()
Purpose: return an int hash value for this hashable instance.
It is VERY IMPORTANT that this hash function use
ONLY this.key in computing the hash function!!!!!
--------------------------------------------------------------*/
public int hash();
/*------------------------------------------------------------
getKey()
Purpose: return a String key --- the key value associated
with this hashable instance.
------------------------------------------------------------*/
public String getKey();
}