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)valueParameters
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)valueParameters
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)valueParameters
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)clearDiscussion
Clears all nodes from the linked list.
Declared In
FMIceLinkLinkedList.h
– count
Gets the number of items in this linked list.
- (int)countDiscussion
Gets the number of items in this linked list.
Declared In
FMIceLinkLinkedList.h
– first
Gets the first node in the linked list.
- (FMIceLinkLinkedListNode<T> *)firstDiscussion
Gets the first node in the linked list.
Declared In
FMIceLinkLinkedList.h
– getEnumerator
Gets the enumerator for this linked list.
- (FMIceLinkLinkedListEnumerator<T> *)getEnumeratorDiscussion
Gets the enumerator for this linked list.
Declared In
FMIceLinkLinkedList.h
– last
Gets the last node in the linked list.
- (FMIceLinkLinkedListNode<T> *)lastDiscussion
Gets the last node in the linked list.
Declared In
FMIceLinkLinkedList.h
– remove:
Removes an item from the linked list.
- (void)remove:(T)valueParameters
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)removeFirstDiscussion
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> *)nodeParameters
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> *)toListDiscussion
Returns the linked list as a regular list.
Declared In
FMIceLinkLinkedList.h