Syntax

C#
public class CacheableHashSet
Visual Basic (Declaration)
Public Class CacheableHashSet
Visual C++
public ref class CacheableHashSet

The type exposes the following members.

Public Constructors

  NameDescription
Public methodCacheableHashSetCacheableHashSetNewOverloaded.

Public Methods

  NameDescription
Public methodAdd
Adds an item to the CacheableHashSet.
Public methodClear
Removes all items from the CacheableHashSet.
Public methodContains
Determines whether the CacheableHashSet contains a specific value.
Public methodCopyTo
Copies the elements of the CacheableHashSet to an System.Array, starting at a particular System.Array index.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFromData
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
(Inherited from Serializable.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CacheableHashSet.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the CacheableHashSet.
Public methodResize
Increases the bucket count to at least size elements.
Public methodSwap
Swap the contents of this CacheableHashSet with the given one.
Public methodToData
Serializes this native (C++) object.
(Inherited from Serializable.)
Public methodToString
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
(Inherited from Serializable.)

Protected Methods

  NameDescription
Protected method_SetNativePtr (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodDispose (Inherited from Serializable.)
Protected methodFinalize (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodInternalCleanup (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyBucketCount
Get the number of buckets used by the HashSet.
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
(Overrides Serializable..::ClassId.)
Public propertyCount
Gets the number of elements contained in the CacheableHashSet.
Public propertyIsEmpty
True if the CacheableHashSet's size is 0.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyMaxLength
Get the largest possible size of the CacheableHashSet.
Public propertyObjectSize
return the size of this object in bytes
(Inherited from Serializable.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable..::GetEnumerator

See Also