Home Reference Source Test
public class | source

LinkedList

Direct Subclass:

UniqueLinkedList

Implements:

  • Iterable.<V>

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:

NameTypeAttributeDescription
args *

Public Members

public get first: V | * source

public get last: V | * source

public get length: number source

Public Methods

public [Symbol.iterator](): Iterator<V|*> source

Return:

Iterator<V|*>

public clear(): void source

Return:

void

public isEmpty(): boolean source

Return:

boolean

public * iterator(): Iterator<V|*> source

Return:

Iterator<V|*>

public pop(): V | * source

Return:

V | *

public push(value: V | *): void source

Params:

NameTypeAttributeDescription
value V | *

Return:

void

public shift(): V | * source

Return:

V | *

public unshift(value: V | *) source

Params:

NameTypeAttributeDescription
value V | *

Protected Methods

protected _push(entry: LinkedListEntry): void source

Params:

NameTypeAttributeDescription
entry LinkedListEntry

Return:

void

protected _remove(entry: LinkedListEntry): void source

Params:

NameTypeAttributeDescription
entry LinkedListEntry

Return:

void

protected _unshift(entry: LinkedListEntry): void source

Params:

NameTypeAttributeDescription
entry LinkedListEntry

Return:

void