Packages

t

cc.drx

Tree

trait Tree[+A, +B <: Tree[A, B]] extends Forest[B]

homogeneous value type tree with index optimized children

Source
tree.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tree
  2. Forest
  3. 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

Abstract Value Members

  1. abstract def get(i: Int): Option[B]
    Definition Classes
    Forest
  2. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  3. abstract def value: A

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toany2stringadd[Tree[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Tree[A, B], B)
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toArrowAssoc[Tree[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def applyIf(t: Boolean, f: (Tree[A, B]) => Tree[A, B]): Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def applyIf(t: (Tree[A, B]) => Boolean)(f: (Tree[A, B]) => Tree[A, B]): Tree[A, B]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def breadthFirst: Iterable[A]
  10. def depthFirst: Iterable[A]
  11. def elementOf(xs: Set[Tree[A, B]]): Boolean
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  12. def ensuring(cond: (Tree[A, B]) => Boolean, msg: => Any): Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toEnsuring[Tree[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Tree[A, B]) => Boolean): Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toEnsuring[Tree[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toEnsuring[Tree[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toEnsuring[Tree[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toStringFormat[Tree[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def hashCode(): Int
    Definition Classes
    Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isLeaf: Boolean
  21. def noneIf(f: (Tree[A, B]) => Boolean): Option[Tree[A, B]]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. def optionIf(f: (Tree[A, B]) => Boolean): Option[Tree[A, B]]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  25. def someIf(f: (Tree[A, B]) => Boolean): Option[Tree[A, B]]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  26. val thisAny: Tree[A, B]
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  27. def till(maxArg: Tree[A, B]): Bound[Tree[A, B]]

    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, B] toBoundOps[Tree[A, B]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Tree[A, B]] is in scope.
    Definition Classes
    BoundOps
  28. def toString(): String
    Definition Classes
    Any
  29. def trees: Iterable[B]
    Definition Classes
    Forest

Deprecated Value Members

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

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] 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 |>[B](f: (Tree[A, B]) => B): B
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toDrxAny[Tree[A, B]] 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)

  3. def [B](y: B): (Tree[A, B], B)
    Implicit
    This member is added by an implicit conversion from Tree[A, B] toArrowAssoc[Tree[A, B]] 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 Forest[B]

Inherited from Any

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

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

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

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

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

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

Ungrouped