IDeque
Description
- Derived from
-
IVectorConst<T>
ICollector<T> - Extended by
-
DequeBase abstract
Base interface for classes that represent a double-ended queue of elements.
Public / Methods
PeekFirst
Returns the first element in the queue without removing it.
Peeking at the first element of an empty queue will return the default element value.
PeekLast
Returns the last element in the queue without removing it.
Peeking at the last element of an empty queue will return the default element value.
PopFirst
Returns the first element in the queue and removes it.
Popping the first element of an empty queue is a no-op and will return the default element value.