public static long[] hashToLongs(double datum,long seed){
  double d=(datum == 0.0) ? 0.0 : datum;
  long[] data={Double.doubleToLongBits(d)};
  return hash(data,seed);
}

public static long [ ] hashToLongs ( double datum , long seed ) { double d = ( datum == 0.0 ) ? 0.0 : datum ; long [ ] data = { Double . doubleToLongBits ( d ) } ; return hash ( data , seed ) ; }
hash a double and long seed .
