Value.toShort

Overview | Methods | This Package | All Packages

Value.toShort

Converts an object to a short value.

Syntax

public static short toShort( Object value )

Parameters

value

The value to convert.

Return Value

Returns a short object that represents the specified value.

Exceptions

ClassCastException thrown if the argument cannot be converted.