SetMap

source

Constructors

new SetMap<K, V>(): SetMap

Properties

_map: Map<K, Set<V>>source

Methods

Instance methods

[iterator](): IterableIterator<readonly [K, Set<V>]>source

add(key: K, values: V[]): SetMapsource

clear(): SetMapsource

delete(value: V): SetMapsource

delete(key: K, value: V): SetMapsource

get(key: K): Set<V>source

has(key: K, value: V): booleansource

iterate(key: K): IterableIterator<V>source

keys(): IterableIterator<K>source

Yields each key in the SetMap

pairwise(): Iterable<readonly [K, V]>source