All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Supporting.Hashable

public abstract interface Hashable
Protocol for Hashable objects.


Method Index

 o hash(int)
Compute a hash function for this object.

Methods

 o hash
 public abstract int hash(int tableSize)
Compute a hash function for this object.

Parameters:
tableSize - the hash table size.
Returns:
(deterministically) a number between 0 and tableSize-1, distributed equitably.

All Packages  Class Hierarchy  This Package  Previous  Next  Index