AbstractNumber

Constructors

this
this(T value)
Undocumented in source.

Members

Functions

byteValue
byte byteValue()

Returns the value of this {@code T} as a {@code byte} after a narrowing primitive conversion. @jls 5.1.3 Narrowing Primitive Conversions

doubleValue
double doubleValue()

Returns the value of this {@code T} as a {@code double} after a widening primitive conversion. @jls 5.1.2 Widening Primitive Conversions

floatValue
float floatValue()

Returns the value of this {@code T} as a {@code float} after a widening primitive conversion. @jls 5.1.2 Widening Primitive Conversions

intValue
int intValue()

Returns the value of this {@code T} as an {@code int}.

longValue
long longValue()

Returns the value of this {@code T} as a {@code long} after a widening primitive conversion. @jls 5.1.2 Widening Primitive Conversions @see T#toUnsignedLong(int)

shortValue
short shortValue()

Returns the value of this {@code T} as a {@code short} after a narrowing primitive conversion. @jls 5.1.3 Narrowing Primitive Conversions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Number

intValue
int intValue()

Returns the value of the specified number as an {@code int}.

longValue
long longValue()

Returns the value of the specified number as a {@code long}.

floatValue
float floatValue()

Returns the value of the specified number as a {@code float}.

doubleValue
double doubleValue()

Returns the value of the specified number as a {@code double}.

byteValue
byte byteValue()

Returns the value of the specified number as a {@code byte}.

shortValue
short shortValue()

Returns the value of the specified number as a {@code short}.

toString
string toString()
Undocumented in source.

Meta