Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BranchOrder<T>

Type parameters

Hierarchy

  • BranchOrder

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly order

order: T[]

Accessors

length

  • get length(): number

Methods

b

  • b(index: number): T

i

  • i(br: T): number
  • Finds the index of br and adds it to the order if necessary.

    Parameters

    • br: T

      The branch to find the index of

    Returns number

    The index of br

insertOrdered

toJSON

  • toJSON(mapper?: (k: BranchKey) => any): any[]

Static fromJSON

Generated using TypeDoc