| CappedQueueT Class |
Namespace: Network.Sim.Miscellaneous
public class CappedQueue<T> : IEnumerable<T>, IEnumerable
The CappedQueueT type exposes the following members.
| Name | Description | |
|---|---|---|
| CappedQueueT |
Initializes a new instance of the CappedQueue class.
|
| Name | Description | |
|---|---|---|
| Count |
Gets the number of elements contained in the queue.
| |
| MaxCapacity |
Gets the maximum number of elements the queue can store.
|
| Name | Description | |
|---|---|---|
| Dequeue |
Removes and returns the element at the beginning of the queue.
| |
| Enqueue |
Adds an object to the end of the queue.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the queue.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Peek |
Returns the element at the beginning of the queue without removing
it.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |