public static int hashCode(int pre,double d){
  long l=Double.doubleToLongBits(d);
  return 37 * pre + (int)(l ^ (l >>> 32));
}

public static int hashCode ( int pre , double d ) { long l = Double . doubleToLongBits ( d ) ; return 37 * pre + ( int ) ( l ^ ( l > > > 32 ) ) ; }
returns a hash value based on a seed value and the value of a double primitive .
