Options
All
  • Public
  • Public/Protected
  • All
Menu

Class STreePage<V, I>

Type parameters

  • V = unknown

  • I = unknown

Hierarchy

Index

Constructors

constructor

  • Type parameters

    • V = unknown

    • I = unknown

    Returns STreePage<V, I>

Properties

Readonly Abstract arity

arity: number

Readonly Abstract size

size: number

Methods

Abstract balanced

  • Parameters

    Returns STreePage<V, I>

Abstract drop

  • Parameters

    Returns STreePage<V, I>

Abstract entries

  • Returns Cursor<[I, V]>

Abstract forEach

  • forEach<T, S>(callback: (value: V, index: number, id: I) => void | T, thisArg: S, offset: number): undefined | T
  • Type parameters

    • T

    • S

    Parameters

    • callback: (value: V, index: number, id: I) => void | T
        • (value: V, index: number, id: I): void | T
        • Parameters

          • value: V
          • index: number
          • id: I

          Returns void | T

    • thisArg: S
    • offset: number

    Returns undefined | T

Abstract get

  • get(index: number): undefined | V
  • Parameters

    • index: number

    Returns undefined | V

Abstract getEntry

  • getEntry(index: number): undefined | [I, V]
  • Parameters

    • index: number

    Returns undefined | [I, V]

Abstract inserted

  • Parameters

    • index: number
    • newValue: V
    • id: undefined | I
    • tree: STreeContext<V, I>

    Returns STreePage<V, I>

Abstract isEmpty

  • isEmpty(): boolean
  • Returns boolean

keys

  • Returns Cursor<I>

Abstract removed

  • Parameters

    Returns STreePage<V, I>

Abstract reverseEntries

  • reverseEntries(): Cursor<[I, V]>
  • Returns Cursor<[I, V]>

reverseKeys

  • Returns Cursor<I>

reverseValues

  • Returns Cursor<V>

Abstract split

  • Parameters

    • index: number

    Returns STreePage<V, I>

Abstract splitLeft

  • Parameters

    • index: number

    Returns STreePage<V, I>

Abstract splitRight

  • Parameters

    • index: number

    Returns STreePage<V, I>

Abstract take

  • Parameters

    Returns STreePage<V, I>

Abstract updated

  • Parameters

    Returns STreePage<V, I>

values

  • Returns Cursor<V>

Static empty

  • Type parameters

    • V

    • I

    Returns STreeLeaf<V, I>

Generated using TypeDoc