import { NonLeafBlock } from "https://deno.land/x/rimbu@1.2.0/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, options: { reversed: boolean; state: TraverseState; }): void
getCoordinates(): [number, number]
index: number,
forTake: boolean,
noEmptyLast: boolean,
map<T2>(mapFun: (value: T, index: number) => T2, options?: { reversed?: boolean; indexOffset?: number; }): NonLeafBlock<T2, Block<T2>>
mapPure<T2>(mapFun: (value: T) => T2, options?: { reversed?: boolean; cacheMap?: CacheMap; }): NonLeafBlock<T2, Block<T2>>
prependInternal(child: C): NonLeafBlock<T, C>
reversed(cacheMap?): NonLeafBlock<T, C>
streamRange(range: IndexRange, options?: { reversed?: boolean; }): Stream<T>
structure(): string
takeChildren(childAmount: number): NonLeafBlock<T, C> | null
takeInternal(amount: number): [NonLeafBlock<T, C> | null, C, number]
toArray(options?: { range?: IndexRange | undefined; reversed?: boolean; }): T[] | any