Space Engineers
|
Allows access to queue by index Otherwise implementation is similar to regular queue More...
Public Member Functions | |
MyQueue (int capacity) | |
MyQueue (IEnumerable< T > collection) | |
void | Clear () |
void | Enqueue (T item) |
T | Peek () |
T | Dequeue () |
bool | Contains (T item) |
bool | Remove (T item) |
void | Remove (int idx) |
void | TrimExcess () |
override string | ToString () |
Protected Member Functions | |
void | SetCapacity (int capacity) |
Protected Attributes | |
T[] | m_array |
int | m_head |
int | m_tail |
int | m_size |
Properties | |
T[] | InternalArray [get] |
int | Count [get] |
T | this[int index] [get, set] |
Allows access to queue by index Otherwise implementation is similar to regular queue
Definition at line 12 of file MyQueue.cs.
|
inline |
Definition at line 19 of file MyQueue.cs.
|
inline |
Definition at line 29 of file MyQueue.cs.
|
inline |
Definition at line 52 of file MyQueue.cs.
|
inline |
Definition at line 123 of file MyQueue.cs.
|
inline |
Definition at line 114 of file MyQueue.cs.
|
inline |
Definition at line 93 of file MyQueue.cs.
|
inline |
Definition at line 107 of file MyQueue.cs.
|
inline |
Definition at line 135 of file MyQueue.cs.
|
inline |
Definition at line 152 of file MyQueue.cs.
|
inlineprotected |
Definition at line 171 of file MyQueue.cs.
|
inline |
Definition at line 198 of file MyQueue.cs.
|
inline |
Definition at line 191 of file MyQueue.cs.
|
protected |
Definition at line 14 of file MyQueue.cs.
|
protected |
Definition at line 15 of file MyQueue.cs.
|
protected |
Definition at line 17 of file MyQueue.cs.
|
protected |
Definition at line 16 of file MyQueue.cs.
|
get |
Definition at line 70 of file MyQueue.cs.
|
get |
Definition at line 40 of file MyQueue.cs.
|
getset |
Definition at line 78 of file MyQueue.cs.