/ fm / liveswitch / LinkedListNode
Class: LinkedListNode<T>
fm.liveswitch.LinkedListNode
A linked list node.
Type parameters
| Name |
|---|
T |
Table of contents
Constructors
Methods
Constructors
constructor
+ new LinkedListNode<T>(item: T): LinkedListNode<T>
Initializes a new instance of the [[fm.liveswitch.linkedListNode]] class.
Type parameters:
| Name |
|---|
T |
Parameters:
| Name | Type | Description |
|---|---|---|
item |
T | The item. |
Returns: LinkedListNode<T>
Defined in: Generated/TypeScript/fm.liveswitch/LinkedListNode.ts:17
Methods
getNext
▸ getNext(): LinkedListNode<T>
Gets the next node. Will be null if last.
Returns: LinkedListNode<T>
Defined in: Generated/TypeScript/fm.liveswitch/LinkedListNode.ts:43
getPrevious
▸ getPrevious(): LinkedListNode<T>
Gets the previous node. Null if first.
Returns: LinkedListNode<T>
Defined in: Generated/TypeScript/fm.liveswitch/LinkedListNode.ts:55
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LinkedListNode.ts:9
getValue
▸ getValue(): T
Gets the item in the linked list.
Returns: T
Defined in: Generated/TypeScript/fm.liveswitch/LinkedListNode.ts:67