public class CrossHash extends Object
Constructor and Description |
---|
CrossHash() |
Modifier and Type | Method and Description |
---|---|
static int |
hash(boolean[] data) |
static int |
hash(byte[] data) |
static int |
hash(char[] data) |
static int |
hash(double[] data) |
static int |
hash(float[] data) |
static int |
hash(int[] data) |
static int |
hash(long[] data) |
static int |
hash(short[] data) |
static int |
hash(String s) |
static int |
hash(String[]... data) |
static int |
hash(String[] data) |
static long |
hash64(boolean[] data) |
static long |
hash64(byte[] data) |
static long |
hash64(char[] data) |
static long |
hash64(char[] data,
int start,
int end)
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
|
static long |
hash64(double[] data) |
static long |
hash64(float[] data) |
static long |
hash64(int[] data) |
static long |
hash64(Iterable<String> data) |
static long |
hash64(long[] data) |
static long |
hash64(short[] data) |
static long |
hash64(String s) |
static long |
hash64(String[]... data) |
static long |
hash64(String[] data) |
public CrossHash()
public static int hash(boolean[] data)
public static int hash(byte[] data)
public static int hash(char[] data)
public static int hash(short[] data)
public static int hash(int[] data)
public static int hash(long[] data)
public static int hash(float[] data)
public static int hash(double[] data)
public static long hash64(boolean[] data)
public static long hash64(byte[] data)
public static long hash64(char[] data)
public static long hash64(short[] data)
public static long hash64(int[] data)
public static long hash64(long[] data)
public static long hash64(float[] data)
public static long hash64(double[] data)
public static long hash64(char[] data, int start, int end)
data
- the char array to hashstart
- the start of the section to hash (inclusive)end
- the end of the section to hash (exclusive)Copyright © 2012–2016. All rights reserved.