Class StringUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long to64BitHash​(java.lang.String stringValue)
      Generates a 64 bit hash from the given string.
      • Methods inherited from class java.lang.Object

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

      • to64BitHash

        public static long to64BitHash​(java.lang.String stringValue)
        Generates a 64 bit hash from the given string.
        Parameters:
        stringValue - the value to be hashed
        Returns:
        the 64 bit hash of the given string (0 in case the given string is null) or empty.