Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Queue<T>

Type parameters

  • T

Hierarchy

  • Queue

Index

Properties

Methods

Properties

head

head: QueueItem<T> | undefined

length

length: number

tail

tail: QueueItem<T> | undefined

Methods

pop

  • pop(): T | undefined

push

  • push(item: T): void

shift

  • shift(): T | undefined

unshift

  • unshift(item: T): void