| | Collection Classes - slide 17 : 36 |
Overview of the class LinkedList<T>
The class LinkedList<T> uses and exposes an auxiliary class LinkedListNode<T>
- Members of class LinkedList<T>
- Constructors
- LinkedList(), LinkedList(IEnumerable<T>)
- Accessors (properties)
- Element addition
- AddFirst(T), AddFirst(LinkedListNode<T>), AddLast(T),
AddLast(LinkedListNode<T>), AddBefore(LinkedListNode<T>, T), AddBefore(LinkedListNode<T>, LinkedListNode<T>),
AddAfter(LinkedListNode<T>, T),
AddAfter(LinkedListNode<T>, LinkedListNode<T>), Add(T)
- Element removal
- Remove(T), Remove(LinkedListNode<T>), RemoveFirst(),
RemoveLast(), Clear()
- Searching
- Boolean queries