Name | Description | |
---|---|---|
NChain<T> Constructor | Overloaded. |
The following tables list the members exposed by NChain<T>.
Name | Description | |
---|---|---|
NChain<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
Count | Gets the count of items | |
HeadNode | Gets the head (first) node in the list | |
Item | Gets or sets the node at the specified index | |
Items | Get the list of items contained in this chain nodes | |
TailNode | Gets the tail (last) node in the list |
Name | Description | |
---|---|---|
Add | Adds the specified node to the end of this list (equivalient to PushBack). | |
Clear | Removes all nodes from the set. | |
Contains | Queries whether the specified node is contained in this object. | |
CopyTo | Copies all items of this set to the specified array, starting from the specified array index. | |
FindFirst | Overloaded. Returns the first chain node that contains the specified item | |
FindLast | Overloaded. Returns the last chain node that contains the specified item | |
GetIterator | Gets an iterator that iterates through the nodes in forward order. | |
GetReverseIterator | Gets an iterator that iterates through the nodes in a reverse order. | |
IndexOf | Gets the index at which an item appears for the first time. Returns -1 if the item does not appear in the set. | |
Insert | Inserts the item at the specified index. | |
InsertAfter | Inserts a node after a node of this chain. | |
InsertBefore | Inserts a node before a node of this chain. | |
PeekBack | Returns the last node from the deque, without removing it. | |
PeekFront | Returns the first node from the deque, without removing it. | |
PopBack | Removes and returns the last node from the deque. | |
PopFront | Removes and returns the first node from the deque. | |
PushBack | Overloaded. Pushes the node at the back of the deque (makes it the last item in the deque) | |
PushFront | Overloaded. Pushes the node at the front of the deque (makes it the first item in the deque) | |
Remove | Removes the specified node. | |
RemoveAt | Removes the node at the specified index | |
SwapWithNext | Swaps this node with the next node in the chain | |
SwapWithPrev | Swaps this node with the previous node in the chain | |
ToArray | Converts this set to an array. |