Options
All
  • Public
  • Public/Protected
  • All
Menu

An abstract class for any queue data structure

Type parameters

  • T

    queue element

Hierarchy

Index

Constructors

Properties

head: CanUndef<T>

The first element in the queue

length: number

Number of elements in the queue

Methods

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