PooledLinkedListT Class |
Namespace: Archon.SwissArmyLib.Collections
public class PooledLinkedList<T> : ICollection<T>, IEnumerable<T>, IEnumerable
The PooledLinkedListT type exposes the following members.
Name | Description | |
---|---|---|
PooledLinkedListT |
Initializes a new empty PooledLinkedList<T> with its own node pool.
| |
PooledLinkedListT(IEnumerableT) |
Initializes a new PooledLinkedList<T> with its own node pool and the contents of the specified
IEnumerableT.
| |
PooledLinkedListT(IPoolLinkedListNodeT) |
Initializes a new empty PooledLinkedList<T> that uses a specified node pool.
| |
PooledLinkedListT(IEnumerableT, IPoolLinkedListNodeT) |
Initializes a new PooledLinkedList<T> with a custom node pool and the contents of the specified
IEnumerableT.
|
Name | Description | |
---|---|---|
BackingList |
Gets the LinkedListT instance that is wrapped.
| |
Count |
Gets the number of nodes contained in the PooledLinkedList<T>.
| |
First |
Gets the first node of the PooledLinkedList<T>.
| |
Last |
Gets the last node of the PooledLinkedList<T>.
| |
Pool |
Gets the object pool used for storing unused nodes.
|
Name | Description | |
---|---|---|
AddAfter(LinkedListNodeT, LinkedListNodeT) |
Adds the specified new node after the specified existing node in the PooledLinkedList<T>.
| |
AddAfter(LinkedListNodeT, T) |
Adds a new node containing the specified value after the specified existing node in the PooledLinkedList<T>.
| |
AddBefore(LinkedListNodeT, LinkedListNodeT) |
Adds the specified new node before the specified existing node in the PooledLinkedList<T>.
| |
AddBefore(LinkedListNodeT, T) |
Adds a new node containing the specified value before the specified existing node in the PooledLinkedList<T>.
| |
AddFirst(LinkedListNodeT) |
Adds the specified new node at the start of the PooledLinkedList<T>.
| |
AddFirst(T) |
Adds a new node containing the specified value at the start of the PooledLinkedList<T>.
| |
AddLast(LinkedListNodeT) |
Adds the specified new node at the end of the PooledLinkedList<T>.
| |
AddLast(T) |
Adds a new node containing the specified value at the end of the PooledLinkedList<T>.
| |
Clear |
Removes all nodes from the PooledLinkedList<T>.
| |
Contains |
Determines whether a value is in the PooledLinkedList<T>.
| |
CopyTo |
Copies the entire PooledLinkedList<T> to a compatible one-dimensional Array, starting at the specified index
of the target array.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find |
Finds the first node that contains the specified value.
| |
FindLast |
Finds the last node that contains the specified value.
| |
GetEnumerator |
Returns an enumerator that iterates through the PooledLinkedList<T>.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(LinkedListNodeT) |
Removes the specified node from the PooledLinkedList<T>.
| |
Remove(T) |
Removes the first occurrence of the specified value from the PooledLinkedList<T>.
| |
RemoveFirst |
Removes the node at the start of the PooledLinkedList<T>.
| |
RemoveLast |
Removes the node at the end of the PooledLinkedList<T>.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |