Package VASSAL.tools

Class HashCode

java.lang.Object
VASSAL.tools.HashCode

@Deprecated public final class HashCode extends Object
Deprecated.
Use HashCodeBuilder instead.
Provides static methods for calculating hash codes.
Since:
3.1.0
Author:
Joel Uckelman
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    hash​(boolean value)
    Deprecated.
     
    static int
    hash​(boolean[] a)
    Deprecated.
     
    static int
    hash​(byte value)
    Deprecated.
     
    static int
    hash​(byte[] a)
    Deprecated.
     
    static int
    hash​(char value)
    Deprecated.
     
    static int
    hash​(char[] a)
    Deprecated.
     
    static int
    hash​(double value)
    Deprecated.
     
    static int
    hash​(double[] a)
    Deprecated.
     
    static int
    hash​(float value)
    Deprecated.
     
    static int
    hash​(float[] a)
    Deprecated.
     
    static int
    hash​(int value)
    Deprecated.
     
    static int
    hash​(int[] a)
    Deprecated.
     
    static int
    hash​(long value)
    Deprecated.
     
    static int
    hash​(long[] a)
    Deprecated.
     
    static int
    hash​(short value)
    Deprecated.
     
    static int
    hash​(short[] a)
    Deprecated.
     
    static int
    hash​(Object value)
    Deprecated.
     
    static <T> int
    hash​(T[] a)
    Deprecated.
     

    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(boolean value)
      Deprecated.
    • hash

      public static int hash(byte value)
      Deprecated.
    • hash

      public static int hash(char value)
      Deprecated.
    • hash

      public static int hash(short value)
      Deprecated.
    • hash

      public static int hash(int value)
      Deprecated.
    • hash

      public static int hash(long value)
      Deprecated.
    • hash

      public static int hash(float value)
      Deprecated.
    • hash

      public static int hash(double value)
      Deprecated.
    • hash

      public static int hash(Object value)
      Deprecated.
    • hash

      public static int hash(boolean[] a)
      Deprecated.
    • hash

      public static int hash(byte[] a)
      Deprecated.
    • hash

      public static int hash(char[] a)
      Deprecated.
    • hash

      public static int hash(short[] a)
      Deprecated.
    • hash

      public static int hash(int[] a)
      Deprecated.
    • hash

      public static int hash(long[] a)
      Deprecated.
    • hash

      public static int hash(float[] a)
      Deprecated.
    • hash

      public static int hash(double[] a)
      Deprecated.
    • hash

      public static <T> int hash(T[] a)
      Deprecated.