Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • E

Hierarchy

Implemented by

Index

Properties

count: number

A non-negative integer indicating the number of elements in the collection.

isEmpty: boolean

A boolean indicating whether the collection is empty.

Methods

  • [iterator](): Iterator<E, any, undefined>
  • Returns Iterator<E, any, undefined>

  • clear(): void
  • dequeue(): E
  • enqueue(element: E): void
  • peek(): E
  • toArray(): E[]

Generated using TypeDoc