delphirtl

delphirtlDocs


delphirtl / Queue

Class: Queue<T>

A first in, first out class

Type Parameters

T

Constructors

new Queue()

new Queue<T>(): Queue<T>

Returns

Queue<T>

Accessors

length

Get Signature

get length(): number

The number of values in the store

Returns

number

Defined in

src/collections.ts:42

Methods

next()

next(): undefined | T

Returns

undefined | T

The first value in the store

Defined in

src/collections.ts:30


pop()

pop(): undefined | T

Returns

undefined | T

The first value in the store

Defined in

src/collections.ts:22


push()

push(val): void

Parameters

val: T

Puts the given value into the class

Returns

void

Defined in

src/collections.ts:14