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