A linked list. More...
Instance Methods | |
| (FMLiveSwitchLinkedListNode< T > *) | - addBeforeNode:value: |
| Adds an item before a node. More... | |
| (FMLiveSwitchLinkedListNode< T > *) | - addFirst: |
| Adds an item to the beginning of the linked list. More... | |
| (FMLiveSwitchLinkedListNode< T > *) | - addLast: |
| Adds an item to the end of the linked list. More... | |
| (void) | - clear |
| Clears all nodes from the linked list. More... | |
| (int) | - count |
| Gets the number of items in this linked list. More... | |
| (FMLiveSwitchLinkedListNode< T > *) | - first |
| Gets the first node in the linked list. More... | |
| (FMLiveSwitchLinkedListEnumerator< T > *) | - getEnumerator |
| Gets the enumerator for this linked list. More... | |
| (instancetype) | - init |
| (FMLiveSwitchLinkedListNode< T > *) | - last |
| Gets the last node in the linked list. More... | |
| (bool) | - remove: |
| Removes an item from the linked list. More... | |
| (bool) | - removeFirst |
| Removes the first item in the linked list. More... | |
| (bool) | - removeLast |
| Removes the last item in the linked list. More... | |
| (bool) | - removeNode: |
| Removes a specific node from the linked list. More... | |
| (NSMutableArray< T > *) | - toList |
| Returns the linked list as a regular list. More... | |
Class Methods | |
| (FMLiveSwitchLinkedList *) | + linkedList |
Protected Attributes | |
| __pad0__: NSObject- (FMLiveSwitchLinkedListNode<T>*) addAfterNode:(FMLiveSwitchLinkedListNode<T>*)node value:(T)value | |
A linked list.
| - (FMLiveSwitchLinkedListNode<T>*) addBeforeNode: | (FMLiveSwitchLinkedListNode< T > *) | node | |
| value: | (T) | value | |
Adds an item before a node.
| node | The node before which to add the value. |
| value | The value. |
| - (FMLiveSwitchLinkedListNode<T>*) addFirst: | (T) | value |
Adds an item to the beginning of the linked list.
| value | The value. |
| - (FMLiveSwitchLinkedListNode<T>*) addLast: | (T) | value |
Adds an item to the end of the linked list.
| value | The value. |
| - (void) clear |
Clears all nodes from the linked list.
| - (int) count |
Gets the number of items in this linked list.
| - (FMLiveSwitchLinkedListNode<T>*) first |
Gets the first node in the linked list.
| - (FMLiveSwitchLinkedListEnumerator<T>*) getEnumerator |
Gets the enumerator for this linked list.
| - (instancetype) init |
| - (FMLiveSwitchLinkedListNode<T>*) last |
Gets the last node in the linked list.
| + (FMLiveSwitchLinkedList*) linkedList |
| - (bool) remove: | (T) | value |
Removes an item from the linked list.
| value | The value. |
| - (bool) removeFirst |
Removes the first item in the linked list.
| - (bool) removeLast |
Removes the last item in the linked list.
| - (bool) removeNode: | (FMLiveSwitchLinkedListNode< T > *) | node |
Removes a specific node from the linked list.
| node | The node. |
| - (NSMutableArray<T>*) toList |
Returns the linked list as a regular list.
|
protected |