Queue | @uirouter/angularjs
Options
Menu

Type parameters

  • T

Hierarchy

  • Queue

Index

Constructors

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

Properties

_evictListeners: function[] = []
_items: T[]
_limit: number
onEvict: function = pushTo(this._evictListeners)

Type declaration

    • (val: T): T
    • Parameters

      • val T

      Returns T

Methods

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

Generated using TypeDoc