Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BinaryTreeNode

A tree node part of SortedList

Hierarchy

  • BinaryTreeNode

Index

Constructors

constructor

Properties

Private _data

_data: Array<any>

Private _key

_key: number

Private _left

Private _right

Methods

getData

  • getData(): Array<any>
  • Returns Array<any>

getKey

  • getKey(): number
  • Returns number

getLeft

getRight

setData

  • setData(data: any): void
  • Parameters

    • data: any

    Returns void

setKey

  • setKey(key: number): void
  • Parameters

    • key: number

    Returns void

setLeft

  • Parameters

    Returns void

setRight

  • Parameters

    Returns void