Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | Node |
Public Member Functions | |
ConcurrentStack () | |
ConcurrentStack (IEnumerable< T > collection) | |
void | Clear () |
void | CopyTo (T[] array, int index) |
void | Push (T item) |
void | PushRange (T[] items) |
void | PushRange (T[] items, int startIndex, int count) |
bool | TryPeek ([MaybeNullWhen(false)] out T result) |
bool | TryPop ([MaybeNullWhen(false)] out T result) |
int | TryPopRange (T[] items) |
int | TryPopRange (T[] items, int startIndex, int count) |
T[] | ToArray () |
IEnumerator< T > | GetEnumerator () |
Properties | |
bool | IsEmpty [get] |
int | Count [get] |
bool ICollection. | IsSynchronized [get] |
object ICollection. | SyncRoot [get] |
Private Member Functions | |
void | InitializeFromCollection (IEnumerable< T > collection) |
void ICollection. | CopyTo (Array array, int index) |
void | PushCore (Node head, Node tail) |
bool IProducerConsumerCollection< T >. | TryAdd (T item) |
bool | TryPopCore ([MaybeNullWhen(false)] out T result) |
int | TryPopCore (int count, out Node poppedHead) |
bool IProducerConsumerCollection< T >. | TryTake ([MaybeNullWhen(false)] out T item) |
List< T > | ToList () |
List< T > | ToList (Node curr) |
IEnumerator< T > | GetEnumerator (Node head) |
IEnumerator IEnumerable. | GetEnumerator () |
Static Private Member Functions | |
static void | ValidatePushPopRangeInput (T[] items, int startIndex, int count) |
static void | CopyRemovedItems (Node head, T[] collection, int startIndex, int nodesCount) |
Private Attributes | |
volatile Node | _head |
Definition at line 10 of file ConcurrentStack.cs.