public class HashUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
addHash |
static int |
startHash |
| Constructor and Description |
|---|
HashUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
append(long hash,
BowString word) |
static long |
append(long hash,
String s) |
static long |
hashCode(BowString targetWord) |
static long |
hashCode(String... strings) |
static long |
hashCode(String s) |
static int |
integerHashCode(String s) |
static long |
randomDistributeHash(long hash) |
public static final int startHash
public static final int addHash
public static int integerHashCode(String s)
public static long hashCode(String s)
public static long hashCode(String... strings)
public static long append(long hash,
String s)
public static long append(long hash,
BowString word)
public static long hashCode(BowString targetWord)
public static long randomDistributeHash(long hash)
Copyright © 2015. All rights reserved.