Long.Long
Class Overview | Class Members |
This Package |
All Packages
public Long( long value )
Parameters
- value
- the value to be represented by the Long.
Description
Constructs a newly allocated Long object that
represents the primitive long argument.
public Long( String s ) throws NumberFormatException
Parameters
- s
- the string to be converted to a Long.
Description
Constructs a newly allocated Long object that
represents the value represented by the string. The string is
converted to an long value as if by the
valueOf method.
Exceptions
NumberFormatException
if the String does not
contain a parsable long integer.
See Also
valueOf