Space Engineers
Classes | Public Member Functions | Properties | List of all members
VRage.Collections.MySinglyLinkedList< V > Class Template Reference
Inheritance diagram for VRage.Collections.MySinglyLinkedList< V >:

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)
 
PopFirst ()
 
First ()
 
Last ()
 
void Clear ()
 
bool Contains (V item)
 
void CopyTo (V[] array, int arrayIndex)
 
void Reverse ()
 
bool VerifyConsistency ()
 
bool Remove (V item)
 
Enumerator GetEnumerator ()
 

Properties

this[int index] [get, set]
 
int Count [get]
 
bool IsReadOnly [get]
 

Detailed Description

Definition at line 9 of file MySinglyLinkedList.cs.

Constructor & Destructor Documentation

Definition at line 149 of file MySinglyLinkedList.cs.

Member Function Documentation

void VRage.Collections.MySinglyLinkedList< V >.Add ( item)
inline

Definition at line 293 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Append ( item)
inline

Definition at line 307 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Clear ( )
inline

Definition at line 373 of file MySinglyLinkedList.cs.

bool VRage.Collections.MySinglyLinkedList< V >.Contains ( item)
inline

Definition at line 380 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.CopyTo ( V[]  array,
int  arrayIndex 
)
inline

Definition at line 390 of file MySinglyLinkedList.cs.

V VRage.Collections.MySinglyLinkedList< V >.First ( )
inline

Definition at line 357 of file MySinglyLinkedList.cs.

Enumerator VRage.Collections.MySinglyLinkedList< V >.GetEnumerator ( )
inline

Definition at line 508 of file MySinglyLinkedList.cs.

int VRage.Collections.MySinglyLinkedList< V >.IndexOf ( item)
inline

Definition at line 156 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Insert ( int  index,
item 
)
inline

Definition at line 169 of file MySinglyLinkedList.cs.

V VRage.Collections.MySinglyLinkedList< V >.Last ( )
inline

Definition at line 365 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Merge ( MySinglyLinkedList< V >  otherList)
inline

Definition at line 321 of file MySinglyLinkedList.cs.

V VRage.Collections.MySinglyLinkedList< V >.PopFirst ( )
inline

Definition at line 344 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Prepend ( item)
inline

Definition at line 312 of file MySinglyLinkedList.cs.

bool VRage.Collections.MySinglyLinkedList< V >.Remove ( item)
inline

Definition at line 471 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.RemoveAt ( int  index)
inline

Definition at line 198 of file MySinglyLinkedList.cs.

void VRage.Collections.MySinglyLinkedList< V >.Reverse ( )
inline

Definition at line 404 of file MySinglyLinkedList.cs.

MySinglyLinkedList<V> VRage.Collections.MySinglyLinkedList< V >.Split ( MySinglyLinkedList< V >.Enumerator  newLastPosition,
int  newCount = -1 
)
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.

Parameters
newLastPositionEnumerator that points to the new last position in the list.
newCountNew 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.
Returns
The newly created list

Definition at line 238 of file MySinglyLinkedList.cs.

bool VRage.Collections.MySinglyLinkedList< V >.VerifyConsistency ( )
inline

Definition at line 432 of file MySinglyLinkedList.cs.

Property Documentation

Definition at line 400 of file MySinglyLinkedList.cs.

bool VRage.Collections.MySinglyLinkedList< V >.IsReadOnly
get

Definition at line 427 of file MySinglyLinkedList.cs.

V VRage.Collections.MySinglyLinkedList< V >.this[int index]
getset

Definition at line 268 of file MySinglyLinkedList.cs.


The documentation for this class was generated from the following file: