Class Hashes

java.lang.Object
io.jenetics.internal.util.Hashes

public final class Hashes extends Object
Static methods for simple and efficient hash-code calculation.
Since:
4.3
Version:
4.3
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    hash(byte value)
     
    static int
    hash(byte[] value)
     
    static int
    hash(byte[] value, int seed)
     
    static int
    hash(byte value, int seed)
     
    static int
    hash(char value)
     
    static int
    hash(char[] value)
     
    static int
    hash(char[] value, int seed)
     
    static int
    hash(char value, int seed)
     
    static int
    hash(double value)
     
    static int
    hash(double[] value)
     
    static int
    hash(double[] value, int seed)
     
    static int
    hash(double value, int seed)
     
    static int
    hash(float value)
     
    static int
    hash(float[] value)
     
    static int
    hash(float[] value, int seed)
     
    static int
    hash(float value, int seed)
     
    static int
    hash(int value)
     
    static int
    hash(int[] value)
     
    static int
    hash(int[] value, int seed)
     
    static int
    hash(int value, int seed)
     
    static int
    hash(long value)
     
    static int
    hash(long[] value)
     
    static int
    hash(long[] value, int seed)
     
    static int
    hash(long value, int seed)
     
    static int
    hash(short value)
     
    static int
    hash(short[] value)
     
    static int
    hash(short[] value, int seed)
     
    static int
    hash(short value, int seed)
     
    static int
    hash(Object value)
     
    static int
    hash(Object[] value)
     
    static int
    hash(Object[] value, int seed)
     
    static int
    hash(Object value, int seed)
     

    Methods inherited from class java.lang.Object

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

    • hash

      public static int hash(Object value, int seed)
    • hash

      public static int hash(Object value)
    • hash

      public static int hash(Object[] value, int seed)
    • hash

      public static int hash(Object[] value)
    • hash

      public static int hash(byte value, int seed)
    • hash

      public static int hash(byte value)
    • hash

      public static int hash(byte[] value, int seed)
    • hash

      public static int hash(byte[] value)
    • hash

      public static int hash(char value, int seed)
    • hash

      public static int hash(char value)
    • hash

      public static int hash(char[] value, int seed)
    • hash

      public static int hash(char[] value)
    • hash

      public static int hash(short value, int seed)
    • hash

      public static int hash(short value)
    • hash

      public static int hash(short[] value, int seed)
    • hash

      public static int hash(short[] value)
    • hash

      public static int hash(int value, int seed)
    • hash

      public static int hash(int value)
    • hash

      public static int hash(int[] value, int seed)
    • hash

      public static int hash(int[] value)
    • hash

      public static int hash(long value, int seed)
    • hash

      public static int hash(long value)
    • hash

      public static int hash(long[] value, int seed)
    • hash

      public static int hash(long[] value)
    • hash

      public static int hash(float value, int seed)
    • hash

      public static int hash(float value)
    • hash

      public static int hash(float[] value, int seed)
    • hash

      public static int hash(float[] value)
    • hash

      public static int hash(double value, int seed)
    • hash

      public static int hash(double value)
    • hash

      public static int hash(double[] value, int seed)
    • hash

      public static int hash(double[] value)