com.jogamp.common.util

## Class HashUtil

- java.lang.Object
- - com.jogamp.common.util.HashUtil

-     public class HashUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `getAddrHash32_EqualDist(long addr)` Generates a 32bit equally distributed identity hash value from `addr` avoiding XOR collision.
    `static int` | `getAddrSizeHash32_EqualDist(long addr, long size)` Generates a 32bit equally distributed identity hash value from `addr` and `size` avoiding XOR collision.
    `static long` | `getHash64(long addr, long size)` Generates a 64bit equally distributed hash value from `addr` and `size` avoiding XOR collisions.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HashUtil

          public HashUtil()

  - ### Method Detail

    - #### getAddrHash32_EqualDist

          public static int getAddrHash32_EqualDist(long addr)

      Generates a 32bit equally distributed identity hash value from `addr` avoiding XOR collision.

    - #### getAddrSizeHash32_EqualDist

          public static int getAddrSizeHash32_EqualDist(long addr,
                                        long size)

      Generates a 32bit equally distributed identity hash value from `addr` and `size` avoiding XOR collision.

    - #### getHash64

          public static long getHash64(long addr,
                       long size)

      Generates a 64bit equally distributed hash value from `addr` and `size` avoiding XOR collisions.