|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uniba.wiai.lspi.chord.service.impl.HashFunction
public final class HashFunction
Provides a hash function for calculating the hash value out of Key
or
URL
objects.
Method Summary | |
---|---|
static HashFunction |
getHashFunction()
Returns the singleton instance of this class. |
ID |
getHashKey(Key entry)
Calculates the hash value for a given data Key. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HashFunction getHashFunction()
java.lang.RuntimeException
- If there is an internal problem with the specified hash
function of the Java API.public final ID getHashKey(Key entry)
entry
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |