trait Tree[+A, +B <: Tree[A, B]] extends Forest[B]
homogeneous value type tree with index optimized children
- Source
- tree.scala
- Alphabetic
- By Inheritance
- Tree
- Forest
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (Tree[A, B], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def breadthFirst: Iterable[A]
- def depthFirst: Iterable[A]
- 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
- def ensuring(cond: (Tree[A, B]) => Boolean, msg: => Any): Tree[A, B]
- def ensuring(cond: (Tree[A, B]) => Boolean): Tree[A, B]
- def ensuring(cond: Boolean, msg: => Any): Tree[A, B]
- def ensuring(cond: Boolean): Tree[A, B]
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def formatted(fmtstr: String): String
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLeaf: Boolean
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- def toString(): String
- Definition Classes
- Any
- def trees: Iterable[B]
- Definition Classes
- Forest
Deprecated Value Members
- 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
- 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)
- 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.