public static int hash(double value){
  long bits=Double.doubleToLongBits(value);
  return (int)(bits ^ (bits >>> 32));
}

public static int hash ( double value ) { long bits = Double . doubleToLongBits ( value ) ; return ( int ) ( bits ^ ( bits > > > 32 ) ) ; }
returns a hashcode for the specified value .
