import { SortedMapInner } from "https://deno.land/x/rimbu@1.0.4/sorted/map-custom/implementation/immutable.ts";
Constructors
new
SortedMapInner()Properties
readonly
mutateChildren: SortedMapNode<K, V>[]Methods
addInternal(entry: readonly [K, V]): SortedMapInner<K, V>
copy(): SortedMapInner<K, V>
dropInternal(amount: number): SortedMapNode<K, V>
forEach(f: () => void, state?: TraverseState): void
getAtIndex<O>(index: number, otherwise?: OptLazy<O>): readonly [K, V] | O
getInsertIndexOf(key: K): number
mapValues<V2>(mapFun: (value: V, key: K) => V2): SortedMapInner<K, V2>
mutateGetFromLeft(left: SortedMapInner<K, V>, toMe: readonly [K, V]): [readonly [K, V], SortedMapInner<K, V>]
mutateGetFromRight(right: SortedMapInner<K, V>, toMe: readonly [K, V]): [readonly [K, V], SortedMapInner<K, V>]
mutateGiveToLeft(left: SortedMapInner<K, V>, toLeft: readonly [K, V]): [readonly [K, V], SortedMapInner<K, V>]
mutateGiveToRight(right: SortedMapInner<K, V>, toRight: readonly [K, V]): [readonly [K, V], SortedMapInner<K, V>]
mutateJoinLeft(left: SortedMapInner<K, V>, entry: readonly [K, V]): void
mutateJoinRight(right: SortedMapInner<K, V>, entry: readonly [K, V]): void
mutateSplitRight(index?: number): [readonly [K, V], SortedMapInner<K, V>]
streamSliceIndex(range: IndexRange, reversed?: boolean): Stream<readonly [K, V]>
takeInternal(amount: number): SortedMapNode<K, V>
toArray(): ArrayNonEmpty<readonly [K, V]>