import { MultiSetBuilder } from "https://deno.land/x/rimbu@1.2.0/multiset/custom/index.ts";
Properties
optional
_countMap: RMap.Builder<T, number>add: (value: T, amount?) => boolean
addAll: (source: StreamSource<T>) => boolean
addEntries: (entries: StreamSource<readonly [T, number]>) => boolean
build: () => TpG["normal"]
readonly
countMap: RMap.Builder<T, number>forEach: (f: () => void, options?: { state?: TraverseState; }) => void
modifyCount: (value: T, update: (currentCount: number) => number) => boolean
removeAll: <U>(values: StreamSource<RelatedTo<T, U>>, mode: "SINGLE" | "ALL") => boolean
removeAllEvery: <U>(values: StreamSource<RelatedTo<T, U>>) => boolean
removeAllSingle: <U>(values: StreamSource<RelatedTo<T, U>>) => boolean
setCount: (value: T, amount: number) => boolean