#include <coherence/lang/Integer64.hpp>
Inherits Primitive< int64_t >, Number, and Comparable.
Public Types | |
typedef spec::Handle | Handle |
Integer64 Handle definition. | |
typedef spec::View | View |
Integer64 View definition. | |
typedef spec::Holder | Holder |
Integer64 Holder definition. | |
Public Member Functions | |
virtual int16_t | getInt16Value () const |
Return the numeric value of this object as an int16_t. This may involve rounding or truncation.
| |
virtual int32_t | getInt32Value () const |
Return the numeric value of this object as an int32_t. This may involve rounding or truncation.
| |
virtual int64_t | getInt64Value () const |
Return the numeric value of this object as an int64_t. This may involve rounding or truncation.
| |
virtual float32_t | getFloat32Value () const |
Return the numeric value of this object as a float32_t. This may involve rounding.
| |
virtual float64_t | getFloat64Value () const |
Return the numeric value of this object as a float64_t. This may involve rounding.
| |
Static Public Member Functions | |
static Handle | valueOf (int64_t l) |
Factory method to produce Integer64 objects with an optimization that uses cached objects for all relatively-low numbers. | |
Static Public Attributes | |
static const int64_t | MIN_VALUE |
A constant for the minimum representable value. | |
static const int64_t | MAX_VALUE |
A constant for the maximum representable value. |
static Handle valueOf | ( | int64_t | l | ) | [static] |