Interface IDeque<T>
- Namespace
- AlgorithmsSW.Deque
- Assembly
- AlgorithmsSW.dll
A double-ended queue.
public interface IDeque<T> : IEnumerable<T>, IEnumerable
Type Parameters
T
The type of elements in the deque.
- Inherited Members
- Extension Methods
Properties
Count
Gets the number of elements in the deque.
int Count { get; }
Property Value
PeekLeft
T PeekLeft { get; }
Property Value
- T
PeekRight
T PeekRight { get; }
Property Value
- T
Methods
Clear()
void Clear()
PopLeft()
T PopLeft()
Returns
- T
PopRight()
T PopRight()
Returns
- T
PushLeft(T)
void PushLeft(T item)
Parameters
item
T
PushRight(T)
void PushRight(T item)
Parameters
item
T