Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sequence

class

Sequence

classdesc

Represents a sequence of ordered nodes.

Hierarchy

  • Sequence

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _key

_key: string

Private _keys

_keys: string[]

Accessors

key

  • get key(): string

keys

  • get keys(): string[]
  • Get keys.

    Returns string[]

    Array of ordered node keys in the sequence.

Methods

findNextKey

  • findNextKey(key: string): string
  • Find the next node key in the sequence with respect to the provided node key.

    Parameters

    • key: string

      Reference node key.

    Returns string

    Next key in sequence if it exists, null otherwise.

findPrevKey

  • findPrevKey(key: string): string
  • Find the previous node key in the sequence with respect to the provided node key.

    Parameters

    • key: string

      Reference node key.

    Returns string

    Previous key in sequence if it exists, null otherwise.

Generated using TypeDoc