Click or drag to resize

NetQueueT Methods

The NetQueueT generic type exposes the following members.

Methods
  NameDescription
Public methodClear
Removes all objects from the queue
Public methodContains
Determines whether an item is in the queue
Public methodEnqueue(IEnumerableT)
Adds an item last/tail of the queue
Public methodEnqueue(T)
Adds an item last/tail of the queue
Public methodEnqueueFirst
Places an item first, at the head of the queue
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToArray
Copies the queue items to a new array
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryDequeue
Gets an item from the head of the queue, or returns default(T) if empty
Public methodTryDrain
Gets all items from the head of the queue, or returns number of items popped
Public methodTryPeek
Returns default(T) if queue is empty
Top
Extension Methods
See Also