|
Enhanced C#
Language of your choice: library documentation
|
Represents a double-ended queue that allows items to be added or removed at the beginning or end. More...
Represents a double-ended queue that allows items to be added or removed at the beginning or end.
| T | Type of each element |
Properties | |
| T | First [get, set] |
| Gets the first item in the deque. More... | |
| T | Last [get, set] |
Properties inherited from Loyc.Collections.IIsEmpty | |
| bool | IsEmpty [get] |
Properties inherited from Loyc.Collections.ICount | |
| int | Count [get] |
| Gets the number of items in the collection. More... | |
Public Member Functions | |
| void | PushFirst (T item) |
| void | PushLast (T item) |
| Maybe< T > | TryPopFirst () |
| Maybe< T > | TryPeekFirst () |
| Maybe< T > | TryPopLast () |
| Maybe< T > | TryPeekLast () |
|
getset |
Gets the first item in the deque.
| InvalidOperationException |
1.8.7