object Trees extends Trees

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

Type Members

  1. implicit class CleanedTree[A] extends AnyRef

    This implicit can be used to remove None nodes in a Tree

    This implicit can be used to remove None nodes in a Tree

    Definition Classes
    Trees
  2. implicit class TreeLocx[T] extends AnyRef

    Implicit definition to add more functionalities to the TreeLoc class

    Implicit definition to add more functionalities to the TreeLoc class

    Definition Classes
    Trees
  3. implicit class Treex[A] extends AnyRef

    Implicit definition to add more functionalities to the Tree trait

    Implicit definition to add more functionalities to the Tree trait

    Definition Classes
    Trees

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. def allPaths[A](tree: Tree[A]): List[List[A]]

    returns

    all the paths from root to leaves

    Definition Classes
    Trees
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bottomUp[A, B](t: Tree[A], f: (A, Stream[B]) => B): Tree[B]

    map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.

    map a Tree from leaves to root by replacing each node with the result of a function taking that node and the mapping of all its children.

    This is used in JUnit to map a Tree[Description] where no Description objects are related to a Tree[Description] where each node returns the children nodes on the "getChildren" method

    Definition Classes
    Trees
  7. def clean[A](t: Tree[Option[A]])(implicit initial: A): Tree[A]

    remove None nodes from a tree

    remove None nodes from a tree

    Definition Classes
    Trees
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def flattenSubForests[A](tree: Tree[A]): Tree[A]
    Definition Classes
    Trees
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def parentLocs[T](t: TreeLoc[T], ps: Seq[TreeLoc[T]] = Vector()): Seq[TreeLoc[T]]

    returns

    the list of all parent locs from a given TreeLoc

    Definition Classes
    Trees
  19. def prune[A](t: Tree[A], f: (Tree[A]) => Option[A])(implicit initial: A): Tree[A]

    remove nodes from a tree if they are None according to a function f

    remove nodes from a tree if they are None according to a function f

    Definition Classes
    Trees
  20. def prune[A, B](t: Tree[A], f: (A) => Option[B]): Option[Tree[B]]

    remove nodes from a tree if they are None according to a function f

    remove nodes from a tree if they are None according to a function f

    Definition Classes
    Trees
  21. def size[A](t: TreeLoc[A]): Int

    returns

    the number of nodes in a TreeLoc

    Definition Classes
    Trees
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. implicit def treeIsSized[T]: Sized[Tree[T]]
    Definition Classes
    Trees
  25. implicit def treeLocIsSized[T]: Sized[TreeLoc[T]]
    Definition Classes
    Trees
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Trees

Inherited from AnyRef

Inherited from Any

Ungrouped