![]() |
Energy Core Library
|
Interface for escaping texts with quotes or surrounded in any way. More...
Public Member Functions | |
| bool | Push (T item) |
| Put element at the end of queue. More... | |
| bool | Push (T[] array) |
| Put array of elements at the end of queue. More... | |
| T | Pull () |
| Take element from queue, remove it from queue, and finally return. More... | |
| T [] | Pull (int count) |
| Take number of elements from queue, remove them and return array of elements taken. Take(0) will return all elements from queue and empty it. More... | |
| void | Back (T item) |
| Put element back to queue. This element will be taken first. More... | |
| void | Back (T[] list) |
| Put array of elements back to queue. These elements will be taken first. More... | |
| T | Chop () |
| Delete last element from queue and return it. More... | |
| T [] | Chop (int count) |
| Delete number of last elements from queue and return them. More... | |
Interface for escaping texts with quotes or surrounded in any way.
| void Energy.Interface.IQueue< T >.Back | ( | T | item | ) |
Put element back to queue. This element will be taken first.
| item | Element |
Implemented in Energy.Base.Queue< T >.
| void Energy.Interface.IQueue< T >.Back | ( | T [] | list | ) |
Put array of elements back to queue. These elements will be taken first.
| list | Array of elements |
Implemented in Energy.Base.Queue< T >.
| T Energy.Interface.IQueue< T >.Chop | ( | ) |
Delete last element from queue and return it.
Implemented in Energy.Base.Queue< T >.
| T [] Energy.Interface.IQueue< T >.Chop | ( | int | count | ) |
Delete number of last elements from queue and return them.
| count | Number of elements |
Implemented in Energy.Base.Queue< T >.
| T Energy.Interface.IQueue< T >.Pull | ( | ) |
Take element from queue, remove it from queue, and finally return.
Implemented in Energy.Base.Queue< T >.
| T [] Energy.Interface.IQueue< T >.Pull | ( | int | count | ) |
Take number of elements from queue, remove them and return array of elements taken. Take(0) will return all elements from queue and empty it.
| count | Number of elements |
Implemented in Energy.Base.Queue< T >.
| bool Energy.Interface.IQueue< T >.Push | ( | T | item | ) |
Put element at the end of queue.
| item | Element |
Implemented in Energy.Base.Queue< T >.
| bool Energy.Interface.IQueue< T >.Push | ( | T [] | array | ) |
Put array of elements at the end of queue.
| array |
Implemented in Energy.Base.Queue< T >.