THE PACKAGE JAVA.LANG
java.lang.Long
20.8
20.8.9
public long longValue()
The
long
value represented by this
Long
object is returned.
Overrides the
longValue
method of
Number
( 20.6.2).
20.8.10
public float floatValue()
The
long
value represented by this
Long
object is converted ( 5.1.2) to type
float
and the result of the conversion is returned.
Overrides the
floatValue
method of
Number
( 20.6.3).
20.8.11
public double doubleValue()
The
long
value represented by this
Long
object is converted ( 5.1.2) to type
double
and the result of the conversion is returned.
Overrides the
doubleValue
method of
Number
( 20.6.4).
20.8.12
public static String toString(long i)
The argument is converted to signed decimal representation and returned as a
string, exactly as if the argument and the radix
10
were given as arguments to the
toString
method that takes two arguments ( 20.8.13).
20.8.13
public static String toString(long i, int radix)
The first argument is converted to a signed representation in the radix specified by
the second argument; this representation is returned as a string.
If the
radix
is smaller than
Character.MIN_RADIX
( 20.5.3) or larger than
Character.MAX_RADIX
( 20.5.4), then the value
10
is used instead.
If the first argument is negative, the first character of the result will be the
character
(
\u002d
). If the first argument is not negative, no sign character
appears in the result.
The remaining characters of the result represent the magnitude of the first
argument. If the magnitude is zero, it is represented by a single zero character
0
(
\u0030
); otherwise, the first character of the representation of the magnitude
will not be the zero character. The following ASCII characters are used as digits:
0123456789abcdefghijklmnopqrstuvwxyz
These are
\u0030
through
\u0039
and
\u0061
through
\u007a
. If the
radix
is
N
, then the first
N
of these characters are used as radix
N
digits in the
497
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved