Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short.
More...
#include <java_lang_Number.h>
Inheritance diagram for java::lang::Number:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::lang::Number > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Number > > | array2D |
Public Member Functions | |
| virtual jbyte | byteValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as a byte. | |
| virtual jdouble | doubleValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as a double. | |
| virtual jfloat | floatValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as a float. | |
| virtual jint | intValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as an int. | |
| virtual jlong | longValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as a long. | |
| Number (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| virtual jshort | shortValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of the specified number as a short. | |
Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short.
Subclasses of Number must provide methods to convert the represented numeric value to byte, double, float, int, long, and short.
Arthur van Hoff
|
||||||||||||||||
|
|
|
||||||||||||
|
Returns the value of the specified number as a This may involve rounding or truncation.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
|
||||||||||||
|
Returns the value of the specified number as a This may involve rounding.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
|
||||||||||||
|
Returns the value of the specified number as a This may involve rounding.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
|
||||||||||||
|
Returns the value of the specified number as an This may involve rounding or truncation.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
|
||||||||||||
|
Returns the value of the specified number as a This may involve rounding or truncation.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
|
||||||||||||
|
Returns the value of the specified number as a This may involve rounding or truncation.
Reimplemented in java::lang::Byte, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, and java::lang::Short. |
1.4.1