Double-ended queue.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public sealed class Deque<T> : ICollection<T>, IEnumerable<T>, IEnumerable
<SerializableAttribute> _ Public NotInheritable Class Deque(Of T) _ Implements ICollection(Of T), IEnumerable(Of T), _ IEnumerable
[SerializableAttribute] generic<typename T> public ref class Deque sealed : ICollection<T>, IEnumerable<T>, IEnumerable
- T
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Deque<(Of <(<'T>)>)>()()()() | Initializes a new instance of the Deque<(Of <(<'T>)>)> class | |
| Clear()()()() | Removes all items from the ICollection<(Of <(<'T>)>)>. | |
| Contains(T) | Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value. | |
| CopyTo(array<T>[]()[][], Int32) | Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index. | |
| Count | Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>. | |
| Equals(Object) | (Inherited from Object.) | |
| GetEnumerator()()()() | Returns an enumerator that iterates through the collection. | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Item[([( Int32])]) |
Gets/Sets an element inside the deque.
| |
| PopBack()()()() |
Pops an element from the end of the deque.
| |
| PopFront()()()() |
Pops an element from the end of the deque.
| |
| PushBack(T) |
Adds an element to the end of the deque.
| |
| PushFront(T) |
Adds an element to the front of the deque.
| |
| ToString()()()() | (Inherited from Object.) |
| Object | |
| Deque<(Of <(<'T>)>)> | |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238