import { NonLeafBlock } from "https://deno.land/x/rimbu@1.0.2/list/custom/implementation/nonleaf/nonleaf-block.ts";
Constructors
Properties
readonly
mutateChildren: C[]Methods
_mutateNormalize(): NonLeaf<T>
_mutateRebalance(): NonLeafBlock<T, C>
_mutateSplitRight(childIndex?): NonLeafBlock<T, C>
appendInternal(child: C): NonLeafBlock<T, C>
concatBlock(other: NonLeafBlock<T, C>): NonLeaf<T, C>
concatChildren(other: NonLeafBlock<T, C>): NonLeafBlock<T, C>
concatTree(other: NonLeafTree<T, C>): NonLeaf<T, C>
copy(children: readonly C[], length?): NonLeafBlock<T, C>
copy2<T2, C2 extends Block<T2, C2>>(children: readonly C2[], length?): NonLeafBlock<T2, C2>
createBlockBuilder(): BlockBuilder<T, any>
createNonLeafBuilder(): NonLeafBuilder<T, BlockBuilder<T, unknown>>
dropChildren(childAmount: number): NonLeafBlock<T, C> | null
dropFirst(): [NonLeafBlock<T, C> | null, C]
dropInternal(amount: number): [NonLeafBlock<T, C> | null, C, number]
dropLast(): [NonLeafBlock<T, C> | null, C]
forEach(f: () => void, state: TraverseState): void
getCoordinates(): [number, number]
index: number,
forTake: boolean,
noEmptyLast: boolean,
map<T2>(): NonLeafBlock<T2, Block<T2>>
mapPure<T2>(): NonLeafBlock<T2, Block<T2>>
prependInternal(child: C): NonLeafBlock<T, C>
reversed(cacheMap?): NonLeafBlock<T, C>
streamRange(range: IndexRange, reversed?): Stream<T>
structure(): string
takeChildren(childAmount: number): NonLeafBlock<T, C> | null
takeInternal(amount: number): [NonLeafBlock<T, C> | null, C, number]
toArray(range?: IndexRange, reversed?): T[] | any