Packages

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeLike
  2. Serializable
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Key
  2. abstract type Value

Abstract Value Members

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

    a null-graph (no verticies/K0)

  3. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  4. abstract def listSubtrees(a: T): List[Key]
  5. abstract def one(in: Value): T

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

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

    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

    gives the subtree at a given key

  8. abstract def subTreeOpt(a: T, key: Key): Option[T]
  9. abstract def valueAtRoot(a: T): Option[Value]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def /(a: T, key: Key): T

    gives the subtree at a given key

  4. def /?(a: T, key: Key): Option[T]
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def atPath(a: T, path: List[Key]): T

    gives the subtree at a given path

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

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

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

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

  10. def definedAtRoot(a: T): Boolean

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

  11. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  12. def hashCode(): Int
    Definition Classes
    Any
  13. def isEmpty(a: T): Boolean
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isNonEmpty(a: T): Boolean
  16. def prefixWithMany(value: T, key: List[Key]): T
  17. def toString(): String
    Definition Classes
    Any
  18. def valueAt(a: T, key: Key): Option[Value]
  19. def valueAtPath(a: T, key: List[Key]): Option[Value]

Inherited from Serializable

Inherited from Any

Ungrouped