Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Generic.Queue< T > Class Template Reference

Classes

struct  Enumerator
 

Public Member Functions

 Queue ()
 
 Queue (int capacity)
 
 Queue (IEnumerable< T > collection)
 
void Clear ()
 
void CopyTo (T[] array, int arrayIndex)
 
void Enqueue (T item)
 
Enumerator GetEnumerator ()
 
T Dequeue ()
 
bool TryDequeue ([MaybeNullWhen(false)] out T result)
 
T Peek ()
 
bool TryPeek ([MaybeNullWhen(false)] out T result)
 
bool Contains (T item)
 
T[] ToArray ()
 
void TrimExcess ()
 
int EnsureCapacity (int capacity)
 
void Add (T item)
 
bool Remove (T item)
 

Properties

int Count [get]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 
bool IsReadOnly [get]
 

Private Member Functions

void ICollection. CopyTo (Array array, int index)
 
IEnumerator< T > IEnumerable< T >. GetEnumerator ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
void SetCapacity (int capacity)
 
void MoveNext (ref int index)
 
void ThrowForEmptyQueue ()
 
void Grow (int capacity)
 

Private Attributes

T[] _array
 
int _head
 
int _tail
 
int _size
 
int _version
 

Detailed Description

Definition at line 11 of file Queue.cs.


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