public class HashCodeUtil extends Object
Constructor and Description |
---|
HashCodeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
calculateBytesArrayHashCodes(byte[][] bytesArrays,
int[] starts,
int[] lengths,
int[] valueSelected,
int[] hashCodes,
int count) |
static int |
calculateBytesHashCode(byte[] keyBytes,
int keyStart,
int keyLength) |
static int |
calculateIntHashCode(int key) |
static void |
calculateLongArrayHashCodes(long[] longs,
int[] hashCodes,
int count) |
static int |
calculateLongHashCode(long key) |
static int |
murmurHash(byte[] data,
int offset,
int length) |
public static int calculateIntHashCode(int key)
public static int calculateLongHashCode(long key)
public static void calculateLongArrayHashCodes(long[] longs, int[] hashCodes, int count)
public static int calculateBytesHashCode(byte[] keyBytes, int keyStart, int keyLength)
public static void calculateBytesArrayHashCodes(byte[][] bytesArrays, int[] starts, int[] lengths, int[] valueSelected, int[] hashCodes, int count)
public static int murmurHash(byte[] data, int offset, int length)
Copyright © 2021 The Apache Software Foundation. All rights reserved.