Packages

  • package root
    Definition Classes
    root
  • package cc
    Definition Classes
    root
  • package drx

    Scala doc for the drx conglomerate.

    Scala doc for the drx conglomerate.

    Overview

    Definition Classes
    cc
  • package alt
    Definition Classes
    drx
  • Branch
  • Tree

case class Tree[A](nodes: Map[A, Tree[A]]) extends Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tree
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Tree(nodes: Map[A, Tree[A]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(branch: Branch[A]): Tree[A]

    add branch

  4. def ++(that: Tree[A]): Tree[A]

    merge trees

  5. def ->[B](y: B): (Tree[A], B)
    Implicit
    This member is added by an implicit conversion from Tree[A] toArrowAssoc[Tree[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def applyIf(t: Boolean, f: (Tree[A]) => Tree[A]): Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Tree[A]) => Boolean)(f: (Tree[A]) => Tree[A]): Tree[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def contains(branch: Branch[A]): Boolean

    does a tree contain a branch? (a tree can be larger than a branch)

  12. def containsReverse(branch: Branch[A]): Boolean

    optimized version of contains(branch.reverse)

  13. def elementOf(xs: Set[Tree[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  14. def ensuring(cond: (Tree[A]) => Boolean, msg: => Any): Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toEnsuring[Tree[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Tree[A]) => Boolean): Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toEnsuring[Tree[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toEnsuring[Tree[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toEnsuring[Tree[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Tree[A] toStringFormat[Tree[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def isEmpty: Boolean
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. val nodes: Map[A, Tree[A]]
  26. def nonEmpty: Boolean
  27. def noneIf(f: (Tree[A]) => Boolean): Option[Tree[A]]
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def optionIf(f: (Tree[A]) => Boolean): Option[Tree[A]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  31. def preApply[B](f: (Tree[A]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def sideEffect(f: (Tree[A]) => Unit): Tree[A]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def someIf(f: (Tree[A]) => Boolean): Option[Tree[A]]
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  35. def supports(branch: Branch[A]): Boolean

    does a tree support a larger branch (ie the tree is a subset of the branch? this is a common question for fast indexing and lookups into tree keys and data

  36. def supportsReverse(branch: Branch[A]): Boolean

    optimized version of contains(branch.reverse)

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. val thisAny: Tree[A]
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def till(maxArg: Tree[A]): Bound[Tree[A]]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from Tree[A] toBoundOps[Tree[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Tree[A]] is in scope.
    Definition Classes
    BoundOps
  40. def toString(): String
    Definition Classes
    Tree → AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Tree[A] toany2stringadd[Tree[A]] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (tree: any2stringadd[Tree[A]]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def ?>(f: (Tree[A]) => Boolean): Option[Tree[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def startsWith(branch: Branch[A]): Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.0) confusing meanings use contains instead

  3. def startsWithInverted(branch: Branch[A]): Boolean

    optimized version of startsWith(branch.reverse)

    optimized version of startsWith(branch.reverse)

    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.0) confusing meanings use containsReverse instead

  4. def |>[B](f: (Tree[A]) => B): B
    Implicit
    This member is added by an implicit conversion from Tree[A] toDrxAny[Tree[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  5. def [B](y: B): (Tree[A], B)
    Implicit
    This member is added by an implicit conversion from Tree[A] toArrowAssoc[Tree[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromTree[A] to DrxAny[Tree[A]]

Inherited by implicit conversion DrxBoundOps fromTree[A] to BoundOps[Tree[A]]

Inherited by implicit conversion any2stringadd fromTree[A] to any2stringadd[Tree[A]]

Inherited by implicit conversion StringFormat fromTree[A] to StringFormat[Tree[A]]

Inherited by implicit conversion Ensuring fromTree[A] to Ensuring[Tree[A]]

Inherited by implicit conversion ArrowAssoc fromTree[A] to ArrowAssoc[Tree[A]]

Ungrouped