Class Barbeque<T>

License

Copyright Cao Jiahang All Rights Reserved.

Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at source root.

Type Parameters

  • T

Hierarchy

  • Barbeque

Constructors

Properties

_capacity_mask: number = 0b1111
_head: number = 0
_list: any[] = ...
_size: number = 0
_tail: number = 0
capacity?: number

Accessors

Methods

  • Returns undefined | T

  • Parameters

    • Optional index: number

    Returns undefined | T

  • Returns undefined | T

  • Parameters

    • item: T

    Returns number

  • Returns undefined | T

  • Parameters

    • item: T

    Returns number

Generated using TypeDoc