Class HashCode

java.lang.Object
VASSAL.tools.HashCode

@Deprecated(since="2021-12-01", forRemoval=true) public final class HashCode extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(boolean[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(byte value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(byte[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(char value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(char[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(double value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(double[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(float value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(float[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(int value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(int[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(long value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(long[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(short value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(short[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    hash(Object value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> int
    hash(T[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(byte value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(char value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(short value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(int value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(long value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(float value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(double value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(boolean[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(byte[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(char[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(short[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(int[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(long[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(float[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static int hash(double[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hash

      public static <T> int hash(T[] a)
      Deprecated, for removal: This API element is subject to removal in a future version.