Uses of Class
at.jku.ssw.fp.coll.Tree
-
Packages that use Tree Package Description at.jku.ssw.fp.coll at.jku.ssw.fp.sect06_2 -
-
Uses of Tree in at.jku.ssw.fp.coll
Subclasses of Tree in at.jku.ssw.fp.coll Modifier and Type Class Description static class
Tree.Empty<E>
Class for the empty tree.static class
Tree.Node<E>
Class representing a tree node with a value and a left and right subtree.Fields in at.jku.ssw.fp.coll declared as Tree Modifier and Type Field Description private static Tree
Tree. EMPTY
The single object representing the empty treeprivate Tree<E>
Tree.Node. left
The left subtree of this tree node; possibly empty.private Tree<E>
Tree.Node. right
The right subtree of this tree node; possibly empty.Methods in at.jku.ssw.fp.coll that return Tree Modifier and Type Method Description static <E> Tree<E>
Tree. empty()
Returns the empty tree.Tree<E>
Tree.Empty. left()
Throws aNoSuchElementException
.abstract Tree<E>
Tree. left()
Returns the left subtree of this tree node.Tree<E>
Tree.Node. left()
Returns the left subtree of this tree nodestatic <E> Tree<E>
Tree. of(E value)
Creates a functional tree node with a value and empty left and right subtrees.static <E> Tree<E>
Tree. of(E value, Tree<E> left, Tree<E> right)
Creates a functional tree node with a value and a left and right subtree.Tree<E>
Tree.Empty. right()
Throws aNoSuchElementException
.Tree<E>
Tree.Node. right()
Returns the right subtree of this tree nodeabstract Tree<E>
Tree. right()
Returns the right subtree of this tree node.Methods in at.jku.ssw.fp.coll with parameters of type Tree Modifier and Type Method Description static <E> Tree<E>
Tree. of(E value, Tree<E> left, Tree<E> right)
Creates a functional tree node with a value and a left and right subtree.Constructors in at.jku.ssw.fp.coll with parameters of type Tree Constructor Description Node(E value, Tree<E> left, Tree<E> right)
Private constructor initializing value and left and right subtrees. -
Uses of Tree in at.jku.ssw.fp.sect06_2
Methods in at.jku.ssw.fp.sect06_2 with parameters of type Tree Modifier and Type Method Description static <E> Reducible<E>
Reducible. from(Tree<E> tree)
Creates a reducible object for an tree object.
-