com.hazelcast.util
Class HashUtil

java.lang.Object
  extended by com.hazelcast.util.HashUtil

public final class HashUtil
extends Object


Method Summary
static int hashCode(Object... objects)
          Hash code for multiple objects using Arrays.hashCode(Object[]).
static int MurmurHash3_fmix(int k)
           
static long MurmurHash3_fmix(long k)
           
static long MurmurHash3_x64_64_direct(long address, int offset, int len)
           
static long MurmurHash3_x64_64_direct(long address, int offset, int len, int seed)
           
static long MurmurHash3_x64_64(byte[] data, int offset, int len)
           
static long MurmurHash3_x64_64(byte[] data, int offset, int len, int seed)
           
static int MurmurHash3_x86_32_direct(long address, int offset, int len)
           
static int MurmurHash3_x86_32_direct(long address, int offset, int len, int seed)
          Returns the MurmurHash3_x86_32 hash.
static int MurmurHash3_x86_32(byte[] data, int offset, int len)
           
static int MurmurHash3_x86_32(byte[] data, int offset, int len, int seed)
          Returns the MurmurHash3_x86_32 hash.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

MurmurHash3_x86_32

public static int MurmurHash3_x86_32(byte[] data,
                                     int offset,
                                     int len)

MurmurHash3_x86_32

public static int MurmurHash3_x86_32(byte[] data,
                                     int offset,
                                     int len,
                                     int seed)
Returns the MurmurHash3_x86_32 hash.


MurmurHash3_x86_32_direct

public static int MurmurHash3_x86_32_direct(long address,
                                            int offset,
                                            int len)

MurmurHash3_x86_32_direct

public static int MurmurHash3_x86_32_direct(long address,
                                            int offset,
                                            int len,
                                            int seed)
Returns the MurmurHash3_x86_32 hash.


MurmurHash3_x64_64

public static long MurmurHash3_x64_64(byte[] data,
                                      int offset,
                                      int len)

MurmurHash3_x64_64

public static long MurmurHash3_x64_64(byte[] data,
                                      int offset,
                                      int len,
                                      int seed)

MurmurHash3_x64_64_direct

public static long MurmurHash3_x64_64_direct(long address,
                                             int offset,
                                             int len)

MurmurHash3_x64_64_direct

public static long MurmurHash3_x64_64_direct(long address,
                                             int offset,
                                             int len,
                                             int seed)

MurmurHash3_fmix

public static int MurmurHash3_fmix(int k)

MurmurHash3_fmix

public static long MurmurHash3_fmix(long k)

hashCode

public static int hashCode(Object... objects)
Hash code for multiple objects using Arrays.hashCode(Object[]).



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.