Package nl.tue.storage.hashing.impl
Class MurMur3HashCodeProvider
- java.lang.Object
-
- nl.tue.storage.hashing.impl.MurMur3HashCodeProvider
-
- All Implemented Interfaces:
HashCodeProvider
public class MurMur3HashCodeProvider extends java.lang.Object implements HashCodeProvider
-
-
Constructor Summary
Constructors Constructor Description MurMur3HashCodeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthash(int[]... sets)inthash(short[]... sets)inthash(ShortShortMultiset... sets)protected inthashInternal(int[] data, int hash)Returns the MurmurHash3_x86_32 hash.protected inthashInternal(short[] data, int hash)Returns the MurmurHash3_x86_32 hash.java.lang.StringtoString()
-
-
-
Field Detail
-
INIT
public static final int INIT
- See Also:
- Constant Field Values
-
C1
public static final int C1
- See Also:
- Constant Field Values
-
C2
public static final int C2
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hash
public int hash(ShortShortMultiset... sets)
- Specified by:
hashin interfaceHashCodeProvider
-
hash
public int hash(short[]... sets)
- Specified by:
hashin interfaceHashCodeProvider
-
hash
public int hash(int[]... sets)
- Specified by:
hashin interfaceHashCodeProvider
-
hashInternal
protected int hashInternal(short[] data, int hash)Returns the MurmurHash3_x86_32 hash.
-
hashInternal
protected int hashInternal(int[] data, int hash)Returns the MurmurHash3_x86_32 hash.
-
-