Class DAGEntry<T>

Type Parameters

  • T

Hierarchy

  • DAGEntry

Implemented by

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • T

    Parameters

    • dag: DAGData<T>
    • index: number

    Returns DAGEntry<T>

Properties

data: DAGData<T>
index: number

Methods

  • add a new entry into the DAG with the supplied value, with this entry as its parent.

    Parameters

    • value: T

    Returns DAGEntry<T>

  • return true if this is the root entry (it isn't)

    Returns boolean

  • get the count of items stored in the DAG

    Returns number

  • get the value that this DAG entry stores

    Returns T

Generated using TypeDoc