Class ArrayBuilder<T, TFinish>Abstract

A builder that constructs an array.

Type Parameters

  • in T

  • out TFinish

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • in T

    • out TFinish

    Parameters

    • initial: TFinish[] = []

    Returns ArrayBuilder<T, TFinish>

Properties

output: TFinish[]

Methods

  • Add a single element to this builder.

    Parameters

    • input: T

    Returns void

  • Return the result of all elements added to this builder.

    Returns TFinish[]

Generated using TypeDoc