Closed
Description
Add a method to the Tree
interface, which allows selecting a child from a given tree by its path. The path of a child is defined by its indexes on the different tree levels.
final Tree<String, ?> tree = ...;
final Optional<String> child = tree.childAt(0, 1, 2);
assert tree.getChild(0) == tree.childAt(0).get();