Options
All
  • Public
  • Public/Protected
  • All
Menu

Implementation of a queue data structure based on a linked-list

Type parameters

  • T

    the queue element

Hierarchy

Index

Constructors

Properties

InnerQueue: default<T>

Type: the internal queue to store elements

createInnerQueue: CreateInnerQueue<default<T>> = ...

Returns a new blank internal queue to store elements

innerQueue: default<T>

The internal queue to store elements

Accessors

  • get length(): number

Methods

  • [iterator](): IterableIterator<T>
  • clear(): void
  • push(task: T): number
  • unshift(el: T): number
  • values(): IterableIterator<T>