Space Engineers
|
Classes | |
struct | Enumerator |
class | Node |
Public Member Functions | |
MySinglyLinkedList () | |
int | IndexOf (V item) |
void | Insert (int index, V item) |
void | RemoveAt (int index) |
MySinglyLinkedList< V > | Split (MySinglyLinkedList< V >.Enumerator newLastPosition, int newCount=-1) |
Splits the list into two. This list's end will be the node pointed by newLastPosition and the newly created list will begin with the next node. More... | |
void | Add (V item) |
void | Append (V item) |
void | Prepend (V item) |
void | Merge (MySinglyLinkedList< V > otherList) |
V | PopFirst () |
V | First () |
V | Last () |
void | Clear () |
bool | Contains (V item) |
void | CopyTo (V[] array, int arrayIndex) |
void | Reverse () |
bool | VerifyConsistency () |
bool | Remove (V item) |
Enumerator | GetEnumerator () |
Properties | |
V | this[int index] [get, set] |
int | Count [get] |
bool | IsReadOnly [get] |
Definition at line 9 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 149 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 293 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 307 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 373 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 380 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 390 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 357 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 508 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 156 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 169 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 365 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 321 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 344 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 312 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 471 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 198 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 404 of file MySinglyLinkedList.cs.
|
inline |
Splits the list into two. This list's end will be the node pointed by newLastPosition and the newly created list will begin with the next node.
newLastPosition | Enumerator that points to the new last position in the list. |
newCount | New number of elements in this list. If set to -1, it is calculated automatically, but that would make the split an O(N) operation. Beware: If you set this parameter, be sure to always set the correct number, otherwise, you'd cause both lists (this one and the returned one) to return a wrong number of elements in the future. |
Definition at line 238 of file MySinglyLinkedList.cs.
|
inline |
Definition at line 432 of file MySinglyLinkedList.cs.
|
get |
Definition at line 400 of file MySinglyLinkedList.cs.
|
get |
Definition at line 427 of file MySinglyLinkedList.cs.
|
getset |
Definition at line 268 of file MySinglyLinkedList.cs.