Converts an object to a short value.
public static short toShort( Object value )
value
The value to convert.
Returns a short object that represents the specified value.
ClassCastException thrown if the argument cannot be converted.