com.stripe.bonsai

FullBinaryTreeOps

trait FullBinaryTreeOps[T, BL, LL] extends TreeOps[T, Either[BL, LL]]

Linear Supertypes
TreeOps[T, Either[BL, LL]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FullBinaryTreeOps
  2. TreeOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Label = Either[BL, LL]

  2. abstract type Node

    The type of the nodes in the tree.

    The type of the nodes in the tree.

    Definition Classes
    TreeOps
  3. implicit class OpsForNode extends AnyRef

    Definition Classes
    TreeOps
  4. implicit class OpsForTree extends AnyRef

    Definition Classes
    TreeOps

Abstract Value Members

  1. abstract def foldNode[A](node: Node)(f: (Node, Node, BL) ⇒ A, g: (LL) ⇒ A): A

  2. abstract def root(t: T): Option[Node]

    Returns the root node of the tree.

    Returns the root node of the tree.

    Definition Classes
    TreeOps

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def children(node: Node): Iterable[Node]

    Returns all the direct children of the given node.

    Returns all the direct children of the given node. The order may or may not matter. TreeOps does not provide any guarantees here.

    Definition Classes
    FullBinaryTreeOpsTreeOps
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fold[A](tree: T)(f: (Either[BL, LL], Iterable[Node]) ⇒ A): Option[A]

    Definition Classes
    TreeOps
  13. def fold[A](node: Node)(f: (Either[BL, LL], Iterable[Node]) ⇒ A): A

    Definition Classes
    TreeOps
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def label(node: Node): Either[BL, LL]

    Returns the label attached to the given node.

    Returns the label attached to the given node.

    Definition Classes
    FullBinaryTreeOpsTreeOps
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def reduce[A](node: Node)(f: (Label, Iterable[A]) ⇒ A): A

    Definition Classes
    FullBinaryTreeOpsTreeOps
  22. def reduce[A](tree: T)(f: (Either[BL, LL], Iterable[A]) ⇒ A): Option[A]

    Definition Classes
    TreeOps
  23. def reduceNode[A](node: Node)(f: (BL, Iterable[A]) ⇒ A)(g: (LL) ⇒ A): A

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TreeOps[T, Either[BL, LL]]

Inherited from AnyRef

Inherited from Any

Ungrouped