Packages

class TreeNode[TLabel] extends AnyRef

The TreeNode class is for a node in a tree.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeNode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeNode(nid: Int, lev: Int, label: TLabel, colr: Color = null, ord: Int = 0)(implicit arg0: ClassTag[TLabel])

    nid

    the unique identifier for the node

    lev

    the level of the node in the tree

    label

    the node/incoming edge label

    colr

    the color of the node

    ord

    the birth order

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val child: ArrayBuffer[TreeNode[TLabel]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. var colr: Color
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def isAncestor(n: TreeNode[TLabel]): Boolean

    Check if 'this' node is an ancestor of node 'n'.

    Check if 'this' node is an ancestor of node 'n'.

    n

    target node

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isLeaf: Boolean

    Determine whether 'this' node is a leaf.

  15. var label: TLabel
  16. def leftSibling: TreeNode[TLabel]

    Return the left sibling of 'this' node.

  17. val lev: Int
  18. val loc: R2
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val nid: Int
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. var ord: Int
  24. var parent: TreeNode[TLabel]
  25. def rightSibling: TreeNode[TLabel]

    Return the right sibling of 'this' node.

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String

    Convert a tree node to a string.

    Convert a tree node to a string.

    Definition Classes
    TreeNode → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped