Uses of Class
io.vavr.collection.Tree.Node
Packages that use Tree.Node
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.Purely functional collections based on Traversable.
-
Uses of Tree.Node in io.vavr
-
Uses of Tree.Node in io.vavr.collection
Fields in io.vavr.collection declared as Tree.NodeFields in io.vavr.collection with type parameters of type Tree.NodeMethods in io.vavr.collection that return Tree.NodeModifier and TypeMethodDescriptionstatic <T,U> Tree.Node <U> static <T> Tree.Node<T> Tree.of(T value) Returns a new Node containing the given value and having no children.static <T> Tree.Node<T> Returns a new Node containing the given value and having the given children.static <T> Tree.Node<T> Returns a new Node containing the given value and having the given children.static <T> Tree.Node<T> Recursively builds a non-emptyTree, starting with the givenseedvalue and proceeding in depth-first order.static <T> Tree.Node<T> Methods in io.vavr.collection that return types with arguments of type Tree.NodeModifier and TypeMethodDescriptionTree.build(Iterable<? extends T> source, Function<? super T, ? extends ID> idMapper, Function<? super T, ? extends ID> parentMapper) Build aListwith roots ofTreefrom flat source.Tree.Empty.getChildren()Tree.getChildren()Returns the children of this tree.Tree.Node.getChildren()Tree.traverse()Traverses this tree inTree.Order.PRE_ORDER.Tree.traverse(Tree.Order order) Traverses this tree in a specific order.TreeModule.traverseInOrder(Tree.Node<T> node) TreeModule.traverseLevelOrder(Tree.Node<T> node) TreeModule.traversePostOrder(Tree.Node<T> node) TreeModule.traversePreOrder(Tree.Node<T> node) TreeModule.unzip(Tree.Node<T> node, Function<? super T, Tuple2<? extends T1, ? extends T2>> unzipper) TreeModule.unzip(Tree.Node<T> node, Function<? super T, Tuple2<? extends T1, ? extends T2>> unzipper) TreeModule.unzip3(Tree.Node<T> node, Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) TreeModule.unzip3(Tree.Node<T> node, Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) TreeModule.unzip3(Tree.Node<T> node, Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Methods in io.vavr.collection with parameters of type Tree.NodeModifier and TypeMethodDescriptionstatic <T,U> Tree <U> static <T,U> Tree.Node <U> static <T> Tree.Node<T> Returns a new Node containing the given value and having the given children.static <T> Tree.Node<T> TreeModule.traverseInOrder(Tree.Node<T> node) TreeModule.traverseLevelOrder(Tree.Node<T> node) TreeModule.traversePostOrder(Tree.Node<T> node) TreeModule.traversePreOrder(Tree.Node<T> node) TreeModule.unzip(Tree.Node<T> node, Function<? super T, Tuple2<? extends T1, ? extends T2>> unzipper) TreeModule.unzip3(Tree.Node<T> node, Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) static <T,U, R> Tree <R> TreeModule.zip(Tree.Node<T> node, Iterator<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) Method parameters in io.vavr.collection with type arguments of type Tree.NodeModifier and TypeMethodDescriptionstatic <T> Tree.Node<T> Returns a new Node containing the given value and having the given children.Constructors in io.vavr.collection with parameters of type Tree.NodeModifierConstructorDescription(package private)SerializationProxy(Tree.Node<T> node) Constructor for the case of serialization, called byTree.Node.writeReplace().Constructor parameters in io.vavr.collection with type arguments of type Tree.Node