References
| summary | ||
| public |
F Node(value: any) Base node class. |
|
| private |
Optimization of _concat when |
|
| private |
Concatenate two input lists. |
|
| private |
Generator of nodes in list in order. |
|
| private |
F * _iter_fast(first: Node): IterableIterator<Node> Generator of nodes in list in order. |
|
| private |
Compute the length of a non-empty list. |
|
| private |
Removes last Node from a non-empty list. |
|
| private |
Removes input Node from its list. |
|
| private |
F _rotate_left(x: Node, n: number): Node Rotate list to the left n steps. |
|
| private |
F _rotate_right(x: Node, n: number): Node Rotate list to the right n steps. |
|
| private |
Removes first Node from a non-empty list. |
|
| public |
Concatenate two input lists. |
|
| public |
Return an empty list. |
|
| public |
Creates a list from an input iterable. |
|
| public |
Generator of nodes in list in order. |
|
| public |
Compute the length of a list (can be empty). |
|
| public |
Removes last Node from a list. |
|
| public |
Push value to list. |
|
| public |
F rotate_left(x: Node, n: number): Node Do nothing if x is empty or n is zero. |
|
| public |
F rotate_right(x: Node, n: number): Node Do nothing if x is empty or n is zero. |
|
| public |
Removes first Node from a list. |
|
| public |
Unshift value to list. |
|
| public |
Generator of nodes in list in order. |
|
