Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • Deque

Index

Constructors

constructor

  • new Deque<T>(): Deque<T>
  • Type parameters

    • T

    Returns Deque<T>

Accessors

size

  • get size(): number

Methods

getFront

getRear

insertFront

  • insertFront(value: T): void
  • Insert item to the front of the deque
    Runtime: O(1).

    memberof

    Deque

    Parameters

    • value: T

    Returns void

insertRear

  • insertRear(value: T): void
  • Insert item to the rear of the deque.
    Runtime: O(1).

    memberof

    Deque

    Parameters

    • value: T

    Returns void

removeFront

removeRear

Legend

  • Class
  • Class with type parameter
  • Method
  • Function
  • Type alias with type parameter
  • Enumeration
  • Interface

Generated using TypeDoc