FMIceLinkLinkedList Class Reference
Inherits from | NSObject |
---|---|
Conforms to | T __covariant |
Declared in | FMIceLinkLinkedList.h FMIceLinkLinkedList.m |
– addAfterNode:value:
Adds an item after a node.
- (FMIceLinkLinkedListNode<T> *)addAfterNode:(FMIceLinkLinkedListNode<T> *)node value:(T)value
Parameters
node |
The node after which to add the value. |
---|---|
value |
The value. |
Discussion
Adds an item after a node.
Declared In
FMIceLinkLinkedList.h
– addFirst:
Adds an item to the beginning of the linked list.
- (FMIceLinkLinkedListNode<T> *)addFirst:(T)value
Parameters
value |
The value. |
---|
Discussion
Adds an item to the beginning of the linked list.
Declared In
FMIceLinkLinkedList.h
– addLast:
Adds an item to the end of the linked list.
- (void)addLast:(T)value
Parameters
value |
The value. |
---|
Discussion
Adds an item to the end of the linked list.
Declared In
FMIceLinkLinkedList.h
– clear
Clears all nodes from the linked list.
- (void)clear
Discussion
Clears all nodes from the linked list.
Declared In
FMIceLinkLinkedList.h
– count
Gets the number of items in this linked list.
- (int)count
Discussion
Gets the number of items in this linked list.
Declared In
FMIceLinkLinkedList.h
– first
Gets the first node in the linked list.
- (FMIceLinkLinkedListNode<T> *)first
Discussion
Gets the first node in the linked list.
Declared In
FMIceLinkLinkedList.h
– getEnumerator
Gets the enumerator for this linked list.
- (FMIceLinkLinkedListEnumerator<T> *)getEnumerator
Discussion
Gets the enumerator for this linked list.
Declared In
FMIceLinkLinkedList.h
– last
Gets the last node in the linked list.
- (FMIceLinkLinkedListNode<T> *)last
Discussion
Gets the last node in the linked list.
Declared In
FMIceLinkLinkedList.h
– remove:
Removes an item from the linked list.
- (void)remove:(T)value
Parameters
value |
The value. |
---|
Discussion
Removes an item from the linked list.
Declared In
FMIceLinkLinkedList.h
– removeFirst
Removes the [first](#//api/name/first) item in the linked list.
- (void)removeFirst
Discussion
Removes the [first](#//api/name/first) item in the linked list.
Declared In
FMIceLinkLinkedList.h
– removeNode:
Removes a specific node from the linked list.
- (void)removeNode:(FMIceLinkLinkedListNode<T> *)node
Parameters
node |
The node. |
---|
Discussion
Removes a specific node from the linked list.
Declared In
FMIceLinkLinkedList.h
– toList
Returns the linked list as a regular list.
- (NSMutableArray<T> *)toList
Discussion
Returns the linked list as a regular list.
Declared In
FMIceLinkLinkedList.h