|
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.SimpleHash
public class SimpleHash
Implements standard java.lang.String hash computation on String objects.
| Constructor Summary | |
|---|---|
SimpleHash(int tableSize)
hash needs to know size of the table. |
|
| Method Summary | |
|---|---|
int |
hash(java.lang.String s)
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 SimpleHash(int tableSize)
| Method Detail |
|---|
public int hash(java.lang.String s)
IHash
hash in interface IHash<java.lang.String>
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||