hwtest.binarytrees
package hwtest.binarytrees
Type members
Classlikes
An enum
for binary trees with an element at each node.
An enum
for binary trees with an element at each node.
Example: Node(1, Node(2, Empty, Empty), Empty)
The Node
and Empty
constructors are exported so they
can be referred with or without the BinaryTree.
prefix,
as in BinaryTree.Node
.
- Companion:
- object