An immutable wrapper for array of strings that can serve as a distributable object for caching.
More...
#include <CacheableStringArray.hpp>
Inherits Apache::Geode::Client::IDataSerializablePrimitive.
|
array< String^> ^ | GetValues () |
| Returns a copy of the underlying array of strings.
|
|
virtual String ^ | ToString () override |
| Return a string representation of the object.
|
|
|
String^ | Item [get] |
| Returns a copy of the underlying string at the given index.
|
|
System::Int32 | Length [get] |
| Gets the length of the array.
|
|
An immutable wrapper for array of strings that can serve as a distributable object for caching.
◆ Create()
static CacheableStringArray ^ Apache::Geode::Client::CacheableStringArray::Create |
( |
array< String^>^ |
strings | ) |
|
|
inlinestatic |
Static function to create a new instance copying from the given string array.
If the given array of strings is null or of zero-length then this method returns null.
- Exceptions
-
◆ CreateDeserializable()
static ISerializable ^ Apache::Geode::Client::CacheableStringArray::CreateDeserializable |
( |
| ) |
|
|
inlinestatic |
Factory function to register this class.
◆ GetValues()
array< String^> ^ Apache::Geode::Client::CacheableStringArray::GetValues |
( |
| ) |
|
Returns a copy of the underlying array of strings.
◆ ToString()
virtual String ^ Apache::Geode::Client::CacheableStringArray::ToString |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Item
String^ Apache::Geode::Client::CacheableStringArray::Item |
|
get |
Returns a copy of the underlying string at the given index.
◆ Length
System:: Int32 Apache::Geode::Client::CacheableStringArray::Length |
|
get |
Gets the length of the array.