import { SortedMapNode } from "https://deno.land/x/rimbu@1.0.4/sorted/map-custom/implementation/immutable.ts";
Properties
abstract
readonly
context: SortedMapContext<K>Methods
addEntries(entries: StreamSource<readonly [K, V]>): SortedMap.NonEmpty<K, V>
abstract
addInternal(entry: readonly [K, V], hash?: number): SortedMapNode<K, V>asNormal(): this
abstract
forEach(f: () => void, traverseState?: TraverseState): voidabstract
getInsertIndexOf(key: K): numbergetKeyAtIndex<O>(index: number, otherwise?: OptLazy<O>): K | O
getSliceRange(range: Range<K>): { startIndex: number; endIndex: number; }
getValueAtIndex<O>(index: number, otherwise?: OptLazy<O>): V | O
abstract
mapValues<V2>(mapFun: (value: V, key: K) => V2): SortedMapNode<K, V2>removeKeys<UK>(keys: StreamSource<RelatedTo<K, UK>>): SortedMap<K, V>
sliceIndex(range: IndexRange): SortedMap<K, V>
streamKeys(reversed?: boolean): Stream.NonEmpty<K>
abstract
streamSliceIndex(range: IndexRange, reversed?: boolean): Stream<readonly [K, V]>streamValues(reversed?: boolean): Stream.NonEmpty<V>
abstract
toArray(): ArrayNonEmpty<readonly [K, V]>toBuilder(): SortedMapBuilder<K, V>
toString(): string