JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
cpsc331.collections
Interface ChainHashFunction<E>
All Known Implementing Classes:
SimpleChainHashFunction
public interface
ChainHashFunction<E>
Provides an interface for a hash function that can be used by a hash table with chaining.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
int
hashValue
(
E
e)
Reports the hash value for a given value
Method Detail
hashValue
int hashValue(
E
e)
Reports the hash value for a given value
Parameters:
e
- the element whose has value is to be provided
Returns:
the hash value for this element
Precondition:
An element e of type E has been given as input.
Postcondition:
The has value of e — an integer between zero and one less than the size of the supported has table — is returned as output.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method