private int hashCode(double key){
  long bits=Double.doubleToLongBits(key);
  return (int)(bits ^ (bits >> 32));
}

private int hashCode ( double key ) { long bits = Double . doubleToLongBits ( key ) ; return ( int ) ( bits ^ ( bits > > 32 ) ) ; }
returns the hash code of the specified double .
