A Deque with synchronous operations.

interface SyncDeque {
    back?(): undefined | T;
    front?(): undefined | T;
    pop(): undefined | T;
    push(item): void;
    shift(): undefined | T;
    unshift(item): void;
}

Type Parameters

  • T

Hierarchy

Implemented by

Methods

Generated using TypeDoc