Here you can find the source of intHash(int key)
public static int intHash(int key)
//package com.java2s; //License from project: Apache License public class Main { public static int intHash(int key) { key += ~(key << 15);//from ww w .jav a2s. c o m key ^= (key >>> 10); key += (key << 3); key ^= (key >>> 6); key += ~(key << 11); key ^= (key >>> 16); return key; } }