Skip to main content
Module

x/rimbu/sorted/common/index.ts>InnerMutateSource

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface InnerMutateSource
import { type InnerMutateSource } from "https://deno.land/x/rimbu@0.14.0/sorted/common/index.ts";

Properties

readonly
context: { readonly minEntries: number; readonly maxEntries: number; inner(
entries: readonly E[],
children: readonly InnerChild<E>[],
size: number,
): TS; }
size: number
entries: readonly E[]
mutateEntries: E[]
children: readonly InnerChild<E>[]
mutateChildren: InnerChild<E>[]

Methods

stream(reversed: boolean): Stream.NonEmpty<E>
copy(
entries?: readonly E[],
children?: readonly InnerChild<E>[],
size?: number,
): TS
addInternal(entry: E): TS
normalizeDownsizeChild(
childIndex: number,
newChild: InnerChild<E>,
newSize: number,
): TS
normalizeIncreaseChild(
childIndex: number,
newChild: InnerChild<E>,
newSize: number,
): TS