Class Container<T>Abstract

Type Parameters

  • T

Hierarchy

Constructors

Methods

  • Description

    Removes the element at the specified position.

    Parameters

    • pos: number

      The element's position you want to remove.

    Returns void

  • Description

    Iterate over all elements in the container.

    Parameters

    • callback: ((element: T, index: number) => void)

      Callback function like Array.forEach.

        • (element: T, index: number): void
        • Parameters

          • element: T
          • index: number

          Returns void

    Returns void

Generated using TypeDoc