public class Hash extends Object
| Constructor and Description |
|---|
Hash() |
| Modifier and Type | Method and Description |
|---|---|
static double |
dhash(double x) |
static double |
dhash(double x,
double y) |
static double |
dhash(double x,
double y,
double z) |
static double |
dhash(double x,
double y,
double z,
double t) |
static long |
hash(double x) |
static long |
hash(double x,
double y) |
static long |
hash(double x,
double y,
double z) |
static long |
hash(double x,
double y,
double z,
double t) |
static int |
hashCode(double d)
Hashcode for a double primitive.
|
static int |
hashCode(int value)
Hashcode for an int, defined as the value of the int itself for consistency with java.lang.Integer
|
static <T> int |
hashCode(List<T> list)
Hashcode for list of items.
|
static int |
hashCode(long l)
Hashcode for a long primitive Matches Java hashCode.
|
static long |
longHash(long a) |
static int |
zeroVectorHash(int length)
Return the hashCode for a vector of zeros
|
public static final long longHash(long a)
public static final long hash(double x)
public static final long hash(double x,
double y)
public static final long hash(double x,
double y,
double z)
public static final long hash(double x,
double y,
double z,
double t)
public static final double dhash(double x)
public static final double dhash(double x,
double y)
public static final double dhash(double x,
double y,
double z)
public static final double dhash(double x,
double y,
double z,
double t)
public static final int hashCode(int value)
value - public static final int hashCode(double d)
d - public static final int hashCode(long l)
l - public static <T> int hashCode(List<T> list)
list - public static int zeroVectorHash(int length)
length - Copyright © 2013. All Rights Reserved.