Trait/Object

ltbs.uniform

TreeLike

Related Docs: object TreeLike | package uniform

Permalink

trait TreeLike[T] extends Serializable

Can be navigated like a tree. Has a Value at branches and leaves, and edges are labelled with Key.

Annotations
@implicitNotFound( ... )
Linear Supertypes
Serializable, Serializable, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeLike
  2. Serializable
  3. Serializable
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Key

    Permalink
  2. abstract type Value

    Permalink

Abstract Value Members

  1. abstract def appendWith(a: T, key: Key): T

    Permalink
  2. abstract def empty: T

    Permalink

    a null-graph (no verticies/K0)

  3. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  4. abstract def listSubtrees(a: T): List[Key]

    Permalink
  5. abstract def one(in: Value): T

    Permalink

    create a tree with a single vertex (a singleton graph)

  6. abstract def prefixWith(a: T, key: Key): T

    Permalink

    Add an key to the start of each existing key, effectively creating a new tree with the existing tree as a single subtree

  7. abstract def subTree(a: T, key: Key): T

    Permalink

    gives the subtree at a given key

  8. abstract def valueAtRoot(a: T): Option[Value]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def /(a: T, key: Key): T

    Permalink

    gives the subtree at a given key

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def atPath(a: T, path: List[Key]): T

    Permalink

    gives the subtree at a given path

  7. def definedAt(a: T, key: Key): Boolean

    Permalink

    returns 'true' if there is a subtree at the given key

  8. def definedAtPath(a: T, key: List[Key]): Boolean

    Permalink

    returns 'true' if there is a subtree at the given path

  9. def definedAtRoot(a: T): Boolean

    Permalink

    returns 'true' if there is a subtree at the given path

  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  12. def isEmpty(a: T): Boolean

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isNonEmpty(a: T): Boolean

    Permalink
  15. def prefixWithMany(value: T, key: List[Key]): T

    Permalink
  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def valueAt(a: T, key: Key): Option[Value]

    Permalink
  18. def valueAtPath(a: T, key: List[Key]): Option[Value]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Ungrouped