Class DeletableQueue<T>

A DeletableQueue is a queue from which items may be removed outside of the normal pop() method. It offers the additonal operations:

  • delete(): remove an arbitrary item from the queue by index
  • remove(): remove an arbitrary item from the queue
  • clear(): remove all items from the queue

Typeparam

T : the type of items in this DeletableQueue

Type Parameters

  • T

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

internal: LinkedList<T>

Accessors

  • get isEmpty(): boolean
  • Returns boolean

  • get items(): T[]
  • Returns T[]

  • get length(): number
  • Returns number

Methods