|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalgs.model.search.StandardHash<V>
V - Type on which hashCode is invoked.public class StandardHash<V>
Implements standard hashCode computation on objects.
| Constructor Summary | |
|---|---|
StandardHash(int tableSize)
hash needs to know size of the table. |
|
| Method Summary | |
|---|---|
int |
hash(V v)
Compute the proper index into a hashtable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardHash(int tableSize)
| Method Detail |
|---|
public int hash(V v)
IHash
hash in interface IHash<V>
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||