Queue | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Queue<T>

for typedoc

Type parameters

  • T

Hierarchy

  • Queue

Index

Constructors

  • new Queue(_items?: T[], _limit?: number): Queue
  • Parameters

    • _items Default value: T[] = []
    • _limit Default value: number = null

    Returns Queue


Properties

_items: T[]
_limit: number

Methods

  • clear(): Array<T>
  • dequeue(): T
  • enqueue(item: T): T
  • peekHead(): T
  • peekTail(): T
  • remove(item: T): T
  • size(): number

Generated using TypeDoc