public final class HashUtility extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
accumulateDoubleHash(double x,
int prime,
int state)
Accumulate a hash.
|
static int |
accumulateFloatHash(float x,
int prime,
int state)
Accumulate a hash.
|
public static int accumulateFloatHash(float x,
int prime,
int state)
x - The current valueprime - The prime number used to peturb the statestate - The current statepublic static int accumulateDoubleHash(double x,
int prime,
int state)
x - The current valueprime - The prime number used to peturb the statestate - The current stateCopyright © 2015 <code@io7m.com> http://io7m.com