Pivotal GemFire Native .NET Reference
10.0.5
|
An immutable wrapper for floats that can serve as a distributable key object for caching. More...
Public Member Functions | |
CacheableFloat () | |
* Allocates a new instance with the given value. More... | |
CacheableFloat (Single value) | |
* Allocates a new instance with the given value. More... | |
virtual bool | Equals (ICacheableKey^ other) override |
Return true if this key matches other object. More... | |
virtual bool | Equals (Object^ obj) override |
Return true if this key matches other object. More... | |
virtual System::Int32 | GetHashCode () override |
Return the hashcode for this key. More... | |
bool | operator== (Single other) |
Comparison operator against another value. More... | |
String ^ | ToString () override |
Return a string representation of the object. More... | |
Static Public Member Functions | |
static CacheableFloat ^ | Create (Single value) |
* Static function to create a new instance given value. More... | |
static ISerializable ^ | CreateDeserializable () |
* Factory function to register this class. More... | |
static | operator CacheableKey^ (bool value) |
Implicit conversion operator from a boolean to a CacheableKey . More... | |
static | operator CacheableKey^ (Byte value) |
Implicit conversion operator from a byte to a CacheableKey . More... | |
static | operator CacheableKey^ (Char value) |
Implicit conversion operator from a character to a CacheableKey . More... | |
static | operator CacheableKey^ (Double value) |
Implicit conversion operator from a double to a CacheableKey . More... | |
static | operator CacheableKey^ (Single value) |
Implicit conversion operator from a float to a CacheableKey . More... | |
static | operator CacheableKey^ (String^ value) |
Implicit conversion operator from a string to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int16 value) |
Implicit conversion operator from a 16-bit integer to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int32 value) |
Implicit conversion operator from a 32-bit integer to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int64 value) |
Implicit conversion operator from a 64-bit integer to a CacheableKey . More... | |
static | operator Single (CacheableFloat ^ value) |
* Explicit conversion operator to contained value type. More... | |
Properties | |
System::UInt64 | ObjectSize [get] |
Get the size of this object in bytes. More... | |
virtual System::UInt64 | ObjectSize [get] |
return the size of this object in bytes More... | |
Single | Value [get] |
Gets the value. More... | |
An immutable wrapper for floats that can serve as a distributable key object for caching.
|
inline |
* Allocates a new instance with the given value.
*
value | the value of the new instance |
|
inline |
* Allocates a new instance with the given value.
*
value | the value of the new instance |
|
inlinestatic |
* Static function to create a new instance given value.
*
value | the value of the new instance |
|
inlinestatic |
* Factory function to register this class.
|
inlineoverridevirtualinherited |
Return true if this key matches other object.
It invokes the '==' operator of the underlying native object.
Reimplemented from Apache::Geode::Client::CacheableKey.
|
inlineoverridevirtualinherited |
Return true if this key matches other object.
It invokes the '==' operator of the underlying native object.
Reimplemented from Apache::Geode::Client::CacheableKey.
|
overridevirtualinherited |
Return the hashcode for this key.
It gets the hash code by calling the hashcode()
function of the underlying apache::geode::client::CacheableKey
object.
Implements Apache::Geode::Client::ICacheableKey.
Reimplemented in Apache::Geode::Client::CacheableString.
|
staticinherited |
Implicit conversion operator from a boolean to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a byte to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a character to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a double to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a float to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a string to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a 16-bit integer to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a 32-bit integer to a CacheableKey
.
|
staticinherited |
Implicit conversion operator from a 64-bit integer to a CacheableKey
.
|
inlineexplicitstatic |
* Explicit conversion operator to contained value type.
|
inlineinherited |
Comparison operator against another value.
|
inlineoverrideinherited |
Return a string representation of the object.
This returns the string for the Value
property.
Implements Apache::Geode::Client::ISerializable.
|
getinherited |
Get the size of this object in bytes.
This is only needed if you use the HeapLRU feature.
Note that you can simply return zero if you are not using the HeapLRU feature.
|
getinherited |
return the size of this object in bytes
|
getinherited |
Gets the value.