Syntax
| C# |
|---|
public class CacheableStack |
| Visual Basic (Declaration) |
|---|
Public Class CacheableStack |
| Visual C++ |
|---|
public ref class CacheableStack |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| CacheableStackCacheableStackNew | Overloaded. |
Public Methods
| Name | Description | |
|---|---|---|
| Clear | Removes all objects from the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| Contains | Determines whether an element is in the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| CopyTo | Copies the Stack<(Of <T>)> to an existing one-dimensional Array, starting at the specified array index. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| Equals | (Inherited from Object.) | |
| FromData |
Deserialize this object, typical implementation should return
the 'this' pointer.
| |
| GetEnumerator | Returns an enumerator for the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| 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.) | |
| Peek | Returns the object at the top of the Stack<(Of <T>)> without removing it. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| Pop | Removes and returns the object at the top of the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| Push | Inserts an object at the top of the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ToArray | Copies the Stack<(Of <T>)> to a new array. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ToData |
Serializes this object.
| |
| ToString | (Inherited from Object.) | |
| TrimExcess | Sets the capacity to the actual number of elements in the Stack<(Of <T>)>, if that number is less than 90 percent of current capacity. (Inherited from Stack<(Of <IGFSerializable>)>.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| ClassId |
Returns the classId of the instance being serialized.
This is used by deserialization to determine what instance
type to create and deserialize into.
| |
| Count | Gets the number of elements contained in the Stack<(Of <T>)>. (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ObjectSize |
return the size of this object in bytes
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable<(Of <T>)>..::GetEnumerator | (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ICollection..::CopyTo | (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ICollection..::IsSynchronized | (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| ICollection..::SyncRoot | (Inherited from Stack<(Of <IGFSerializable>)>.) | |
| IEnumerable..::GetEnumerator | (Inherited from Stack<(Of <IGFSerializable>)>.) |
See Also
GemStone.GemFire.Cache Namespace