Short.Short

Short.Short

Class Overview | Class Members | This Package | All Packages

Syntax 1
public Short( short value )
Parameters
value
the initial value of the Short
Description
Constructs a Short object initialized to the specified short value.



Syntax 2
public Short( String s ) throws NumberFormatException
Parameters
s
the String to be converted to a Short
Description
Constructs a Short object initialized to the value specified by the String parameter. The radix is assumed to be 10.

Exceptions
NumberFormatException If the String does not contain a parsable short.