Java Hash Calculate hash(int k)

Here you can find the source of hash(int k)

Description

hash

License

Open Source License

Declaration

public static int hash(int k) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int hash(int k) {
        k = (k ^ 61) ^ (k >>> 16);
        k = k + (k << 3);//w w w .j ava  2  s. c om
        k = k ^ (k >>> 4);
        k = k * 0x27d4eb2d; // TODO
        k = k ^ (k >>> 15);
        return k;
    }
}

Related

  1. hash(int h)
  2. hash(int h, boolean v)
  3. hash(int h, Object o)
  4. hash(int hash, boolean item)
  5. hash(int i, int j)
  6. hash(int k)
  7. hash(int key)
  8. hash(int n)
  9. hash(int p_188208_0_)