Constructor Summary
Public Constructor | ||
public |
constructor(args: ...*) |
Member Summary
Public Members | ||
public get |
first: V | * |
|
public get |
last: V | * |
|
public get |
length: number |
Method Summary
Public Methods | ||
public |
[Symbol.iterator](): Iterator<V|*> |
|
public |
clear(): void |
|
public |
isEmpty(): boolean |
|
public |
* iterator(): Iterator<V|*> |
|
public |
pop(): V | * |
|
public |
push(value: V | *): void |
|
public |
shift(): V | * |
|
public |
unshift(value: V | *) |
Protected Methods | ||
protected |
_push(entry: LinkedListEntry): void |
|
protected |
_remove(entry: LinkedListEntry): void |
|
protected |
_unshift(entry: LinkedListEntry): void |
Public Constructors
public constructor(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
Public Members
public get first: V | * source
public get last: V | * source
public get length: number source
Public Methods
public push(value: V | *): void source
Params:
Name | Type | Attribute | Description |
value | V | * |
Return:
void |
public unshift(value: V | *) source
Params:
Name | Type | Attribute | Description |
value | V | * |
Protected Methods
protected _push(entry: LinkedListEntry): void source
Params:
Name | Type | Attribute | Description |
entry | LinkedListEntry |
Return:
void |
protected _remove(entry: LinkedListEntry): void source
Params:
Name | Type | Attribute | Description |
entry | LinkedListEntry |
Return:
void |
protected _unshift(entry: LinkedListEntry): void source
Params:
Name | Type | Attribute | Description |
entry | LinkedListEntry |
Return:
void |