Uses of Interface
io.vavr.collection.Tree
Packages that use Tree
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 in io.vavr
-
Uses of Tree in io.vavr.collection
Classes in io.vavr.collection that implement TreeModifier and TypeClassDescriptionstatic final classTree.Empty<T>The empty tree.static final classTree.Node<T>Represents a tree node.Methods in io.vavr.collection that return TreeModifier and TypeMethodDescriptiondefault <R> Tree<R> Tree.collect(@NonNull PartialFunction<? super T, ? extends R> partialFunction) static <T> Tree<T> Returns a Tree containingnvalues supplied by a given Suppliers.static <T> Tree<T> Tree.fill(int n, T element) Returns a Tree containingntimes the givenelementdefault <U> Tree<U> static <T,U> Tree <U> TreeModule.flatMap(@NonNull Tree.Node<T> node, @NonNull Function<? super T, ? extends Iterable<? extends U>> mapper) default <U> Tree<U> default <U> Tree<U> Tree.mapTo(U value) Tree.mapToVoid()static <T> Tree<T> Narrows a widenedTree<? extends T>toTree<T>by performing a type-safe cast.static <T> Tree<T> Tree.of(T @NonNull ... values) Creates a Tree of the given elements.static <T> Tree<T> Creates a Tree of the given elements.static <T> Tree<T> Creates a Tree that contains the elements of the givenStream.Tree.replaceAll(T currentElement, T newElement) static <T> Tree<T> Returns a Tree containingnvalues of a given Functionfover a range of integer values from 0 ton - 1.static <T,U, R> Tree <R> TreeModule.zip(@NonNull Tree.Node<T> node, @NonNull Iterator<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) default <U,R> Tree <R> Tree.zipWith(@NonNull Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) Tree.zipWithIndex()default <U> Tree<U> Tree.zipWithIndex(@NonNull BiFunction<? super T, ? super Integer, ? extends U> mapper) Methods in io.vavr.collection that return types with arguments of type TreeModifier and TypeMethodDescriptionTree.collector()Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aTree.Tree.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Tree.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Tree.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Methods in io.vavr.collection with parameters of type TreeModifier and TypeMethodDescriptionstatic <T> Tree<T> Narrows a widenedTree<? extends T>toTree<T>by performing a type-safe cast.private static StringTree.Node.toLispString(Tree<?> tree) Method parameters in io.vavr.collection with type arguments of type Tree