TNode

scalation.database.TNode
See theTNode companion object
trait TNode

The TNode trait allows a hierarchy/tree structure to be created for any types that extend it, e.g., may be used to create a type hierarchy that follows single inheritence producing a multi-way tree.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class KGTable

Members list

Value members

Concrete methods

def add(ns: TNode*): Unit

Add the var-arg nodes to this subtype.

Add the var-arg nodes to this subtype.

Value parameters

ns

the nodes to be added

Attributes

def visit[T >: TNode](level: Int, action: T => Unit): Unit

Visit each node in the multiway tree in pre-order, performing the given action.

Visit each node in the multiway tree in pre-order, performing the given action.

Value parameters

action

the action to performed on each node

Attributes