|
Joutsen v0.5.0+12-g5dd5f7e
|
An interface describing first-in first-out data structures. More...
Public Member Functions | |
| void | Enqueue (ItemType item) |
| Adds an item to the front of the queue. More... | |
| void | Enqueue (SCG.IEnumerable< ItemType > items) |
| Adds a number of items to the front of the queue. More... | |
| ItemType | Dequeue () |
| Fetches and removes the last item in the queue. More... | |
| ItemType | Peek () |
| Fetches the last value in the queue without removing it. More... | |
| void | Clear () |
| Removes all the items from the Queue. More... | |
Properties | |
| int | Count [get] |
| The number of elements in the queue. More... | |
An interface describing first-in first-out data structures.
| void Joutsen.Collections.Generic.Queue< ItemType >.Clear | ( | ) |
Removes all the items from the Queue.
Implemented in Joutsen.Collections.Generic.RingBuffer< ItemType >.
| ItemType Joutsen.Collections.Generic.Queue< ItemType >.Dequeue | ( | ) |
Fetches and removes the last item in the queue.
| void Joutsen.Collections.Generic.Queue< ItemType >.Enqueue | ( | ItemType | item | ) |
Adds an item to the front of the queue.
| item | the item to add to the queue |
| void Joutsen.Collections.Generic.Queue< ItemType >.Enqueue | ( | SCG.IEnumerable< ItemType > | items | ) |
Adds a number of items to the front of the queue.
| items | the items to add to the queue |
| ItemType Joutsen.Collections.Generic.Queue< ItemType >.Peek | ( | ) |
Fetches the last value in the queue without removing it.
|
get |
The number of elements in the queue.
Implemented in Joutsen.Collections.Generic.RingBuffer< ItemType >.