Package nl.tue.storage.hashing.impl
Class FNV1HashCodeProvider
- java.lang.Object
-
- nl.tue.storage.hashing.impl.AbstractHashCodeProvider
-
- nl.tue.storage.hashing.impl.FNV1HashCodeProvider
-
- All Implemented Interfaces:
HashCodeProvider
public class FNV1HashCodeProvider extends AbstractHashCodeProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected static intFNV_32_PRIMEprotected static intFNV1INIT-
Fields inherited from class nl.tue.storage.hashing.impl.AbstractHashCodeProvider
init, name
-
-
Constructor Summary
Constructors Constructor Description FNV1HashCodeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected inthashInternal(int hval, int[] array)protected inthashInternal(int hval, short[] array)-
Methods inherited from class nl.tue.storage.hashing.impl.AbstractHashCodeProvider
hash, hash, hash, toString
-
-
-
-
Field Detail
-
FNV_32_PRIME
protected static final int FNV_32_PRIME
- See Also:
- Constant Field Values
-
FNV1INIT
protected static final int FNV1INIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
hashInternal
protected int hashInternal(int hval, short[] array)- Specified by:
hashInternalin classAbstractHashCodeProvider
-
hashInternal
protected int hashInternal(int hval, int[] array)- Specified by:
hashInternalin classAbstractHashCodeProvider
-
-