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

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