Node
Node: an element to append or insert into a LinkedList Usage: let node = new Node('A'); let nextNode = new Node('B'); node.setNext(nextNode);
Constructor Summary
| Public Constructor | ||
| public |
constructor(element: *) |
|
Method Summary
| Public Methods | ||
| public |
Get the next node of this node to the Node instance provided. |
|
| public |
Returns true if the node has a next node specified. |
|
| public |
Set the next node of this node to the Node instance provided. |
|
Public Constructors
public constructor(element: *) source
Params:
| Name | Type | Attribute | Description |
| element | * |