Java Utililty Methods String Hash

List of utility methods to do String Hash

  1. HOME
  2. Java
  3. S
  4. String Hash

Description

The list of methods to do String Hash are organized into topic(s).

Method

int bernstein(String key)
bernstein
int hash = 0;
int i;
for (i = 0; i < key.length(); ++i)
 hash = 33 * hash + key.charAt(i);
return hash;
double calcBernstein(int n, int i)
calc Bernstein
return calcFactorial(n) / calcFactorial(i) / calcFactorial(n - i);

AltStyle によって変換されたページ (->オリジナル) /