import { SortedNonEmptyBase } from "https://deno.land/x/rimbu@1.0.3/sorted/common/base.ts";
Type Parameters
TS extends SortedNonEmptyBase<E, TS>
Methods
abstract
dropInternal(amount: number): TSabstract
getAtIndex<O>(index: number, otherwise?: OptLazy<O>): E | Oabstract
mutateGetFromLeft(left: TS, toMe: E): [E, TS]abstract
mutateGetFromRight(right: TS, toMe: E): [E, TS]abstract
mutateGiveToLeft(left: TS, toLeft: E): [E, TS]abstract
mutateGiveToRight(right: TS, toRight: E): [E, TS]abstract
mutateJoinLeft(left: TS, entry: E): voidabstract
mutateJoinRight(right: TS, entry: E): voidabstract
mutateSplitRight(index?: number): [E, TS]abstract
takeInternal(amount: number): TS