![]() |
Able
Askowl Base Library Enabler
|
Intentionally simple stack implementation More...
Public Member Functions | |
| Fifo () | |
| Raw creation for subclasses that do their own caching More... | |
| virtual T | Push (T entry) |
| Push a new entry onto the top of the stack More... | |
| virtual T | Pop () |
| Pop an entry from the top of the stack More... | |
| Fifo< T > | Swap () |
| Swap the top and second entries on the stack More... | |
| virtual void | Dispose () |
| Send back to recycling More... | |
| void | Clear () |
| //#TBD#// More... | |
| T [] | ToArray () |
| //#TBD#// More... | |
| override string | ToString () |
| //#TBD#// More... | |
Public Attributes | |
| T | this[int i] => stack[i] |
| Array-like indexing into the stack More... | |
| bool | Empty => Count == 0 |
| //#TBD#// More... | |
Static Public Attributes | |
| static Fifo< T > | Instance => Cache<Fifo<T>>.Instance |
| Fetch Fifo Stack from recycling More... | |
Properties | |
| int | Count [get, set] |
| Number of items on the stack More... | |
| T | Top [get, set] |
| Get/set the value at the top of the stack. More... | |
| T | Next [get, set] |
| Get/set the value at second to top of the stack. More... | |
| T | Bottom [get, set] |
| Get/set the value at the bottom of the stack. More... | |
| void Askowl.Fifo< T >.Clear | ( | ) |
|
virtual |
|
virtual |
|
virtual |
| Fifo<T> Askowl.Fifo< T >.Swap | ( | ) |
| T [] Askowl.Fifo< T >.ToArray | ( | ) |
| override string Askowl.Fifo< T >.ToString | ( | ) |
| bool Askowl.Fifo< T >.Empty => Count == 0 |
|
static |
| T Askowl.Fifo< T >.this[int i] => stack[i] |
|
getset |
|
getset |
|
getset |
|
getset |