Here you can find the source of hash1(int val)
public static int hash1(int val)
//package com.java2s; //License from project: Open Source License public class Main { public static int hash1(int val) { val = (val + 0x7ed55d16) + (val << 12); val = (val ^ 0xc761c23c) ^ (val >> 19); val = (val + 0x165667b1) + (val << 5); val = (val + 0xd3a2646c) ^ (val << 9); val = (val + 0xfd7046c5) + (val << 3); val = (val ^ 0xb55a4f09) ^ (val >> 16); return val; }//from ww w. j a v a2 s .c om }