Oracle Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.2)

E26041-01

Size64 Class Reference

#include <coherence/lang/Size64.hpp>

Inherits Primitive< size64_t >, and Comparable.

List of all members.


Detailed Description

An immutable 64-bit unsigned value.

Author:
mf 2011.02.24

Public Types

typedef spec::Handle Handle
 Size64 Handle definition.
typedef spec::View View
 Size64 View definition.
typedef spec::Holder Holder
 Size64 Holder definition.

Public Member Functions

virtual int32_t compareTo (Object::View v) const
 Compare this object with the specified object for order.

Return a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.

It is strongly recommended, but not strictly required, that (x->compareTo(y) == 0) == (x->equals(y)).

Parameters:
v the Object to be compared
Returns:
a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object
Exceptions:
ClassCastException if the specified Object's type prevents it from being compared to this Object


Static Public Member Functions

static Handle valueOf (size64_t n)
 Factory method to produce Size64 objects with an optimization that uses cached objects for all relatively-low values.

Static Public Attributes

static const size64_t min_value
 A constant for the minimum representable value.
static const size64_t max_value
 A constant for the maximum representable value.

Member Function Documentation

static Handle valueOf ( size64_t  n  )  [static]

Factory method to produce Size64 objects with an optimization that uses cached objects for all relatively-low values.

Parameters:
n an size64_t
Returns:
an Size64 whose value is the passed size64_t


The documentation for this class was generated from the following file:
Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved.