case class Tree[D](d: D, children: List[Tree[D]]) extends Product with Serializable
Polymorphic class for representing finite trees, with unbounded branching.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tree
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val children: List[Tree[D]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val d: D
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def foreach[U](f: (D) => U): Unit
- def foreachPostOrder[U](f: (D) => U): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator: Iterator[D] { val todo: scala.collection.mutable.Stack[ap.basetypes.Tree[D]] }
- def map[E](f: (D) => E): Tree[E]
- def mapUpDown(f: (D) => D): Tree[D]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def prettyPrint(indent: String): Unit
- def prettyPrint: Unit
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def size: Int
- def subtrees: Tree[Tree[D]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toList: List[D]
- def toSeq: List[D]
- def toSet: Set[D]
- def unzip[D1, D2](implicit asPair: (D) => (D1, D2)): (Tree[D1], Tree[D2])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def zip[E](t: Tree[E]): Tree[(D, E)]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)