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

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