Documentation of 'cern.colt.map.HashFunctions' Java class
HashFunctions
cern.colt.map

Class HashFunctions



  • public class HashFunctions
    extends java.lang.Object
    Provides various hash functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int hash(boolean value)
      Returns a hashcode for the specified value.
      static int hash(byte value)
      Returns a hashcode for the specified value.
      static int hash(char value)
      Returns a hashcode for the specified value.
      static int hash(double value)
      Returns a hashcode for the specified value.
      static int hash(float value)
      Returns a hashcode for the specified value.
      static int hash(int value)
      Returns a hashcode for the specified value.
      static int hash(long value)
      Returns a hashcode for the specified value.
      static int hash(java.lang.Object object)
      Returns a hashcode for the specified object.
      static int hash(short value)
      Returns a hashcode for the specified value.
      • Methods inherited from class java.lang.Object

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

      • hash

        public static int hash(char value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(double value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(float value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(int value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(long value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(java.lang.Object object)
        Returns a hashcode for the specified object.
        Returns:
        a hash code value for the specified object.
      • hash

        public static int hash(short value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(boolean value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.
      • hash

        public static int hash(byte value)
        Returns a hashcode for the specified value.
        Returns:
        a hash code value for the specified value.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.