An NDoc Documented Class Library

RotDeque Methods

The methods of the RotDeque class are listed below. For a complete list of RotDeque class members, see the RotDeque Members topic.

Public Instance Methods

Add Add an element to the end of the deque.
Clear Remove all elements from the deque.
Clone Perform a shallow copy of the deque.
Contains Determine whether an element is on the deque.
CopyToOverloaded. Copies the deque's contents to an array.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator Gets an enumerator on the deque's elements.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf Determine the index of an element on the deque.
Insert Insert an item into the deque at a specified position.
Normalize Push the deque's elements to the left (so that head = 0).
PopBack Pop an element from the back of the deque.
PopFront Pop an element from the head of the deque.
PushBack Push an element at the end of the deque.
PushFront Push an element on the head of the deque.
Remove Remove the first occurence of an element from the deque.
RemoveAt Remove the element at a specified position on the deque.
Split Copy the deque's contents into an array of deques.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
RealIndex Get the actual position of an object in the items[] array.

See Also

RotDeque Class | Ringlet.Collections Namespace