Class HashCodeUtils


  • public final class HashCodeUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HashCodeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int hashCode​(byte[] array)
      bob jenkin's hash function
      static int hashCode​(char[] array)  
      static int hashMore​(int hash, boolean[] more)  
      static int hashMore​(int hash, int more)  
      static int hashMore​(int hash, long more)  
      • Methods inherited from class java.lang.Object

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

      • HashCodeUtils

        public HashCodeUtils()
    • Method Detail

      • hashMore

        public static int hashMore​(int hash,
                                   int more)
      • hashMore

        public static int hashMore​(int hash,
                                   long more)
      • hashMore

        public static int hashMore​(int hash,
                                   boolean[] more)
      • hashCode

        public static int hashCode​(byte[] array)
        bob jenkin's hash function
      • hashCode

        public static int hashCode​(char[] array)