Pular para o conteúdo
Português (BR)

BidirectionalMultiMapJson

Este conteúdo não está disponível em sua língua ainda.

BidirectionalMultiMapJson<L, R> = object

Defined in: src/util/BidirectionalMultiMap.ts:56

Wire shape of a BidirectionalMultiMap.

An adjacency list rather than a flat list of pairs: one participant with many partners is the shape every call site has, and repeating the left participant once per pair would double the row for nothing. Only the forward direction is written — the reverse is fully determined by it, so a decoder is never handed two sources of truth to disagree about.

L

R

readonly entries: readonly readonly [L, readonly R[]][]

Defined in: src/util/BidirectionalMultiMap.ts:58


readonly kind: "BidirectionalMultiMap"

Defined in: src/util/BidirectionalMultiMap.ts:57