Class Murmur128Hash


  • public class Murmur128Hash
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int hash​(java.lang.String value, int seed)
      get hashcode of value by seed
      static int hash​(java.lang.String value1, long value2, int seed)
      get hashcode of two values by seed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hash

        public static int hash​(java.lang.String value,
                               int seed)
        get hashcode of value by seed
        Parameters:
        value - value
        seed - 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 value
        value2 - the second value
        seed - seed
        Returns:
        hashcode of value