Class MapBuilder<T, K, V>Abstract

A builder that constucts a map.

Type Parameters

  • in T

  • out K

  • out V

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • in T

    • out K

    • out V

    Parameters

    • initial: Map<K, V> = ...

    Returns MapBuilder<T, K, V>

Properties

output: Map<K, V>

Methods

  • Add a single element to this builder.

    Parameters

    • input: T

    Returns void

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

    Returns Map<K, V>

Generated using TypeDoc