Package org.apache.iotdb.tsfile.utils
Class Murmur128Hash
- java.lang.Object
-
- org.apache.iotdb.tsfile.utils.Murmur128Hash
-
public class Murmur128Hash extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static inthash(java.lang.String value, int seed)get hashcode of value by seedstatic inthash(java.lang.String value1, long value2, int seed)get hashcode of two values by seed
-
-
-
Method Detail
-
hash
public static int hash(java.lang.String value, int seed)get hashcode of value by seed- Parameters:
value- valueseed- seed- Returns:
- hashcode of value
-
hash
public static int hash(java.lang.String value1, long value2, int seed)get hashcode of two values by seed- Parameters:
value1- the first valuevalue2- the second valueseed- seed- Returns:
- hashcode of value
-
-