Accessors
size
- get size(): number
-
Returns number
Methods
[iterator]
- [iterator](): Generator<[AgvId, T], void, unknown>
-
Returns Generator<[AgvId, T], void, unknown>
clear
- clear(): void
-
Returns void
delete
- delete(agvId: AgvId): void
-
Returns void
get
- get(agvId: AgvId): T
-
Returns T
set
- set(agvId: AgvId, value: T): void
-
Returns void
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.