public static int evenHash ( final long value , final int mask ) { int hash = ( int ) value ^ ( int ) ( value >>> 32 ) ; hash = ( hash << 1 ) - ( hash << 8 ) ; return hash & mask ; }
Generate an even hash for a long value .