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
| Name | Description | |
|---|---|---|
| CacheableHashSetCacheableHashSetNew | Overloaded. |
Public Methods
| Name | Description | |
|---|---|---|
| Add |
Adds an item to the CacheableHashSet.
| |
| Clear |
Removes all items from the CacheableHashSet.
| |
| Contains |
Determines whether the CacheableHashSet contains
a specific value.
| |
| CopyTo |
Copies the elements of the CacheableHashSet to an
System.Array, starting at a particular
System.Array index.
| |
| Equals | (Inherited from Object.) | |
| FromData |
Deserializes the native (C++) object -- returns an instance of
the Serializable class with the native object wrapped inside.
(Inherited from Serializable.) | |
| GetEnumerator |
Returns an enumerator that iterates through the
CacheableHashSet.
| |
| GetHashCode | 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Remove |
Removes the first occurrence of a specific object from the
CacheableHashSet.
| |
| Resize |
Increases the bucket count to at least size elements.
| |
| Swap |
Swap the contents of this CacheableHashSet
with the given one.
| |
| ToData |
Serializes this native (C++) object.
(Inherited from Serializable.) | |
| ToString |
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
| Name | Description | |
|---|---|---|
| _SetNativePtr | (Inherited from SBWrap<gemfire::Serializable>.) | |
| Dispose | (Inherited from Serializable.) | |
| Finalize | (Inherited from SBWrap<gemfire::Serializable>.) | |
| InternalCleanup | (Inherited from SBWrap<gemfire::Serializable>.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| BucketCount |
Get the number of buckets used by the HashSet.
| |
| ClassId |
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.) | |
| Count |
Gets the number of elements contained in the CacheableHashSet.
| |
| IsEmpty |
True if the CacheableHashSet's size is 0.
| |
| IsReadOnly |
Gets a value indicating whether the collection is read-only.
| |
| MaxLength |
Get the largest possible size of the CacheableHashSet.
| |
| ObjectSize |
return the size of this object in bytes
(Inherited from Serializable.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable..::GetEnumerator |
See Also
GemStone.GemFire.Cache Namespace