Deque implementation. undefined values are not allowed

Based on Java implementation

Type Parameters

  • T

Constructors

Properties

_capacity: number
_elements: (undefined | T)[]
_head: number = 0
_tail: number = 0
maxLength: number = Infinity

Accessors

Methods