Class TreeIterator<K, V>Abstract

Type Parameters

  • K

  • V

Hierarchy

Properties

Accessors

Methods

Properties

iteratorType: IteratorType

Description

Iterator's type.

next: (() => TreeIterator<K, V>)

Type declaration

pre: (() => TreeIterator<K, V>)

Type declaration

Accessors

  • get index(): number
  • Description

    Get the sequential index of the iterator in the tree container.
    Note: This function only takes effect when the specified tree container enableIndex = true.

    Returns number

  • get pointer(): T
  • Description

    Pointers to element.

    Returns

    The value of the pointer's element.

    Returns T

  • set pointer(newValue: T): void
  • Description

    Set pointer's value (some containers are unavailable).

    Parameters

    • newValue: T

      The new value you want to set.

    Returns void

Methods

Generated using TypeDoc