public static Short toShort(double d){
  return Short.valueOf(toShortValue(d));
}

public static Short toShort ( double d ) { return Short . valueOf ( toShortValue ( d ) ) ; }
cast a double value to a byte object ( reference type )
