Maps AGV identifiers to values of a given value type.

An AgvIdMap object iterates its elements in insertion order; a for-of loop returns an array of [agvId, value] for each iteration.

Type Parameters

  • T

Hierarchy

  • AgvIdMap

Constructors

Accessors

Methods

Constructors

Accessors

  • get size(): number
  • Gets the number of AgvId - value associations.

    Returns

    total number of values in the map

    Returns number

Methods

  • Deletes the value associated with the given AGV identifier.

    Parameters

    • agvId: AgvId

      an AGV identifier

    Returns void

  • Gets the value associated with the given AGV identifier.

    Returns

    associated value or undefined if not existing

    Parameters

    • agvId: AgvId

      an AGV identifier

    Returns T

  • Associates the given value with the given AGV identifier.

    Parameters

    • agvId: AgvId

      an AGV identifier

    • value: T

      value to be associated

    Returns void

Generated using TypeDoc