public static final class CrossHash.Lightning
extends java.lang.Object
Arrays.hashCode(new long[]{0})==Arrays.hashCode(new long[]{-1})
.
Arrays.hashCode(int[])
: http://i.imgur.com/S4Gh1sX.pngCrossHash.hash(int[])
: http://i.imgur.com/x8SDqvL.pnghash(int[])
: http://i.imgur.com/afGJ9cA.pngConstructor and Description |
---|
Lightning() |
Modifier and Type | Method and Description |
---|---|
static int |
hash(boolean[] data) |
static int |
hash(byte[] data) |
static int |
hash(char[] data) |
static int |
hash(char[][] data) |
static int |
hash(char[] data,
int start,
int end)
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
|
static int |
hash(char[] data,
int start,
int end,
int step)
Hashes only a subsection of the given data, starting at start (inclusive), ending before end (exclusive), and
moving between chars in increments of step (which is always greater than 0).
|
static int |
hash(java.lang.CharSequence data) |
static int |
hash(java.lang.CharSequence[]... data) |
static int |
hash(java.lang.CharSequence[] data) |
static int |
hash(double[] data) |
static int |
hash(float[] data) |
static int |
hash(int[] data) |
static int |
hash(java.lang.Iterable<? extends java.lang.CharSequence> data) |
static int |
hash(long[] data) |
static int |
hash(long[][] data) |
static int |
hash(java.lang.Object[] data) |
static int |
hash(short[] data) |
static long |
hash64(boolean[] data) |
static long |
hash64(byte[] data) |
static long |
hash64(char[] 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(char[] data,
int start,
int end,
int step)
Hashes only a subsection of the given data, starting at start (inclusive), ending before end (exclusive), and
moving between chars in increments of step (which is always greater than 0).
|
static long |
hash64(java.lang.CharSequence data) |
static long |
hash64(java.lang.CharSequence[]... data) |
static long |
hash64(java.lang.CharSequence[] data) |
static long |
hash64(double[] data) |
static long |
hash64(float[] data) |
static long |
hash64(int[] data) |
static long |
hash64(java.lang.Iterable<? extends java.lang.CharSequence> data) |
static long |
hash64(long[] data) |
static long |
hash64(long[][] data) |
static long |
hash64(java.lang.Object[] data) |
static long |
hash64(short[] data) |
public static long hash64(boolean[] data)
public static long hash64(byte[] data)
public static long hash64(short[] data)
public static long hash64(char[] 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)public static long hash64(char[] data, int start, int end, int step)
data
- the char array to hashstart
- the start of the section to hash (inclusive)end
- the end of the section to hash (exclusive)step
- how many elements to advance after using one element from data; must be greater than 0public static long hash64(java.lang.CharSequence data)
public static long hash64(char[][] data)
public static long hash64(long[][] data)
public static long hash64(java.lang.CharSequence[] data)
public static long hash64(java.lang.Iterable<? extends java.lang.CharSequence> data)
public static long hash64(java.lang.CharSequence[]... data)
public static long hash64(java.lang.Object[] data)
public static int hash(boolean[] data)
public static int hash(byte[] data)
public static int hash(short[] data)
public static int hash(char[] 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 int hash(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)public static int hash(char[] data, int start, int end, int step)
data
- the char array to hashstart
- the start of the section to hash (inclusive)end
- the end of the section to hash (exclusive)step
- how many elements to advance after using one element from data; must be greater than 0public static int hash(java.lang.CharSequence data)
public static int hash(char[][] data)
public static int hash(long[][] data)
public static int hash(java.lang.CharSequence[] data)
public static int hash(java.lang.Iterable<? extends java.lang.CharSequence> data)
public static int hash(java.lang.CharSequence[]... data)
public static int hash(java.lang.Object[] data)
Copyright © Eben Howard 2012–2022. All rights reserved.