public final class Fnv
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
MAGIC_HASH_CODE |
static long |
MAGIC_PRIME |
| Constructor and Description |
|---|
Fnv() |
| Modifier and Type | Method and Description |
|---|---|
static long |
hashCode64(byte[] bytes,
int offset,
int len,
boolean ascii) |
static long |
hashCode64(char[] chars,
int offset,
int len) |
static long |
hashCode64(java.lang.String... names) |
static long |
hashCode64(java.lang.String name) |
static long |
hashCode64LCase(java.lang.String name) |
private static long |
hashCode64UTF8(byte[] bytes,
int offset,
int len) |
public static final long MAGIC_HASH_CODE
public static final long MAGIC_PRIME
public static long hashCode64LCase(java.lang.String name)
public static long hashCode64(java.lang.String... names)
public static long hashCode64(byte[] bytes,
int offset,
int len,
boolean ascii)
private static long hashCode64UTF8(byte[] bytes,
int offset,
int len)
public static long hashCode64(char[] chars,
int offset,
int len)
public static long hashCode64(java.lang.String name)