Pivotal GemFire Native .NET Reference  10.2.0
Apache::Geode::Client::CacheableObjectArray Class Reference

A mutable ISerializable object array wrapper that can serve as a distributable object for caching. More...

Inherits List< Object^>, and Apache::Geode::Client::IDataSerializablePrimitive.

Public Member Functions

 CacheableObjectArray ()
 Allocates a new empty instance. More...
 
 CacheableObjectArray (IEnumerable< Object^>^ collection)
 Allocates a new instance copying from the given collection. More...
 
 CacheableObjectArray (System::Int32 capacity)
 Allocates a new empty instance with given initial size. More...
 
String ^ ToString ()
 Return a string representation of the object. More...
 

Static Public Member Functions

static CacheableObjectArrayCreate ()
 Static function to create a new empty instance. More...
 
static CacheableObjectArrayCreate (IEnumerable< Object^>^ collection)
 Static function to create a new instance copying from the given collection. More...
 
static CacheableObjectArrayCreate (System::Int32 capacity)
 Static function to create a new instance with given initial size. More...
 
static ISerializableCreateDeserializable ()
 Factory function to register this class. More...
 

Detailed Description

A mutable ISerializable object array wrapper that can serve as a distributable object for caching.

Though this class provides compatibility with java Object[] serialization, it provides the semantics of .NET generic List class.

Constructor & Destructor Documentation

◆ CacheableObjectArray() [1/3]

Apache::Geode::Client::CacheableObjectArray::CacheableObjectArray ( )
inline

Allocates a new empty instance.

◆ CacheableObjectArray() [2/3]

Apache::Geode::Client::CacheableObjectArray::CacheableObjectArray ( IEnumerable< Object^>^  collection)
inline

Allocates a new instance copying from the given collection.

Parameters
collectionThe collection whose elements are copied to this list.

◆ CacheableObjectArray() [3/3]

Apache::Geode::Client::CacheableObjectArray::CacheableObjectArray ( System::Int32  capacity)
inline

Allocates a new empty instance with given initial size.

Parameters
capacityThe initial capacity of the vector.

Member Function Documentation

◆ Create() [1/3]

static CacheableObjectArray ^ Apache::Geode::Client::CacheableObjectArray::Create ( )
inlinestatic

Static function to create a new empty instance.

◆ Create() [2/3]

static CacheableObjectArray ^ Apache::Geode::Client::CacheableObjectArray::Create ( IEnumerable< Object^>^  collection)
inlinestatic

Static function to create a new instance copying from the given collection.

◆ Create() [3/3]

static CacheableObjectArray ^ Apache::Geode::Client::CacheableObjectArray::Create ( System::Int32  capacity)
inlinestatic

Static function to create a new instance with given initial size.

◆ CreateDeserializable()

static ISerializable ^ Apache::Geode::Client::CacheableObjectArray::CreateDeserializable ( )
inlinestatic

Factory function to register this class.

◆ ToString()

String ^ Apache::Geode::Client::ISerializable::ToString ( )
inherited

Return a string representation of the object.

Implemented in Apache::Geode::Client::Serializable, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< NativeArray, NativeArray, ManagedType, DsCode >, Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, and Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>.


Apache Geode C++ Cache .NET API Documentation