Beef Corlib
Classes | Public Member Functions | Protected Member Functions | Properties | List of all members
System.Collections.Generic.Queue< T > Class Template Reference
Inheritance diagram for System.Collections.Generic.Queue< T >:
System.Collections.Generic.IEnumerable< T >

Classes

struct  Enumerator
 

Public Member Functions

 Queue ()
 Creates a queue with.
 
 Queue (int capacity)
 
void Clear ()
 
void CopyTo (T[] array, int arrayIndex)
 CopyTo copies a collection into an Array, starting at a particular index into the array.
 
void Enqueue (T item)
 
Enumerator GetEnumerator ()
 GetEnumerator returns an IEnumerator over this Queue. More...
 
Dequeue ()
 
Peek ()
 Returns the object at the head of the queue. The.
 
bool Contains (T item)
 
void TrimExcess ()
 

Protected Member Functions

T * Alloc (int size)
 
void Free (T *val)
 
override void GCMarkMembers ()
 

Properties

int AllocSize [get]
 <include
 
bool IsDynAlloc [get]
 
int Count [get]
 

Member Function Documentation

◆ GetEnumerator()

Enumerator System.Collections.Generic.Queue< T >.GetEnumerator ( )
inline

GetEnumerator returns an IEnumerator over this Queue.

This Enumerator will support removing.

Implements System.Collections.Generic.IEnumerable< T >.