Uses of Class
io.vavr.collection.TreeSet
Packages that use TreeSet
-
Uses of TreeSet in io.vavr.collection
Methods in io.vavr.collection that return TreeSetModifier and TypeMethodDescription<R> TreeSet<R> TreeSet.collect(@NonNull PartialFunction<? super T, ? extends R> partialFunction) TreeSet.distinct()TreeSet.distinctBy(@NonNull Comparator<? super T> comparator) TreeSet.distinctBy(@NonNull Function<? super T, ? extends U> keyExtractor) TreeSet.drop(int n) TreeSet.dropRight(int n) static <T extends Comparable<? super T>>
TreeSet<T> TreeSet.empty()Returns the empty TreeSet with natural ordering.static <T> TreeSet<T> TreeSet.empty(@NonNull Comparator<? super T> comparator) Returns the empty TreeSet with the given comparator.static <T extends Comparable<? super T>>
TreeSet<T> Returns a TreeSet containing tuples returned byncalls to a given Suppliers.static <T> TreeSet<T> TreeSet.fill(@NonNull Comparator<? super T> comparator, int n, @NonNull Supplier<? extends T> s) Returns a TreeSet containing tuples returned byncalls to a given Suppliers.<U> TreeSet<U> TreeSet.flatMap(@NonNull Comparator<? super U> comparator, @NonNull Function<? super T, ? extends Iterable<? extends U>> mapper) <U> TreeSet<U> TreeSet.init()<U> TreeSet<U> TreeSet.map(@NonNull Comparator<? super U> comparator, @NonNull Function<? super T, ? extends U> mapper) <U> TreeSet<U> <U> TreeSet<U> TreeSet.mapTo(U value) TreeSet.mapToVoid()static <T> TreeSet<T> Narrows aTreeSet<? extends T>toTreeSet<T>via a type-safe cast.static <T> TreeSet<T> TreeSet.of(@NonNull Comparator<? super T> comparator, T value) Returns a singletonTreeSet, i.e.static <T> TreeSet<T> TreeSet.of(@NonNull Comparator<? super T> comparator, T @NonNull ... values) Creates a TreeSet of the given elements with the given comparator.static <T extends Comparable<? super T>>
TreeSet<T> TreeSet.of(T value) Returns a singletonTreeSet, i.e.static <T extends Comparable<? super T>>
TreeSet<T> TreeSet.of(T @NonNull ... values) Creates a TreeSet of the given elements with natural ordering.TreeSet.ofAll(boolean @NonNull ... elements) Creates a TreeSet from boolean values.TreeSet.ofAll(byte @NonNull ... elements) Creates a TreeSet from byte values.TreeSet.ofAll(char @NonNull ... elements) Creates a TreeSet from char values.TreeSet.ofAll(double @NonNull ... elements) Creates a TreeSet from double values.TreeSet.ofAll(float @NonNull ... elements) Creates a TreeSet from float values.TreeSet.ofAll(int @NonNull ... elements) Creates a TreeSet from int values.TreeSet.ofAll(long @NonNull ... elements) Creates a TreeSet from long values.TreeSet.ofAll(short @NonNull ... elements) Creates a TreeSet from short values.static <T extends Comparable<? super T>>
TreeSet<T> Creates a TreeSet of the given elements with natural ordering.static <T> TreeSet<T> TreeSet.ofAll(Comparator<? super T> comparator, @NonNull Iterable<? extends T> values) Creates a TreeSet of the given elements with the given comparator.static <T> TreeSet<T> TreeSet.ofAll(Comparator<? super T> comparator, @NonNull Stream<? extends T> javaStream) Creates a TreeSet from a Java Stream with the given comparator.static <T extends Comparable<? super T>>
TreeSet<T> Creates a TreeSet from a Java Stream with natural ordering.Returns thisTreeSetif it is nonempty, otherwiseTreeSetcreated from iterable, using existing comparator.Returns thisTreeSetif it is nonempty, otherwiseTreeSetcreated from result of evaluating supplier, using existing comparator.TreeSet.range(char from, char toExclusive) Creates a TreeSet of char numbers starting fromfrom, extending totoExclusive - 1.TreeSet.range(int from, int toExclusive) Creates a TreeSet of int numbers starting fromfrom, extending totoExclusive - 1.TreeSet.range(long from, long toExclusive) Creates a TreeSet of long numbers starting fromfrom, extending totoExclusive - 1.TreeSet.rangeBy(char from, char toExclusive, int step) Creates a TreeSet of char numbers starting fromfrom, extending totoExclusive - 1, withstep.TreeSet.rangeBy(double from, double toExclusive, double step) Creates a TreeSet of double numbers starting fromfrom, extending up to (but not including)toExclusive, withstep.TreeSet.rangeBy(int from, int toExclusive, int step) Creates a TreeSet of int numbers starting fromfrom, extending totoExclusive - 1, withstep.TreeSet.rangeBy(long from, long toExclusive, long step) Creates a TreeSet of long numbers starting fromfrom, extending totoExclusive - 1, withstep.TreeSet.rangeClosed(char from, char toInclusive) Creates a TreeSet of char numbers starting fromfrom, extending totoInclusive.TreeSet.rangeClosed(int from, int toInclusive) Creates a TreeSet of int numbers starting fromfrom, extending totoInclusive.TreeSet.rangeClosed(long from, long toInclusive) Creates a TreeSet of long numbers starting fromfrom, extending totoInclusive.TreeSet.rangeClosedBy(char from, char toInclusive, int step) Creates a TreeSet of char numbers starting fromfrom, extending totoInclusive, withstep.TreeSet.rangeClosedBy(double from, double toInclusive, double step) Creates a TreeSet of double numbers starting fromfrom, extending totoInclusive, withstep.TreeSet.rangeClosedBy(int from, int toInclusive, int step) Creates a TreeSet of int numbers starting fromfrom, extending totoInclusive, withstep.TreeSet.rangeClosedBy(long from, long toInclusive, long step) Creates a TreeSet of long numbers starting fromfrom, extending totoInclusive, withstep.TreeSet.replaceAll(T currentElement, T newElement) static <T extends Comparable<? super T>>
TreeSet<T> Returns a TreeSet containingnvalues of a given Functionfover a range of integer values from 0 ton - 1.static <T> TreeSet<T> TreeSet.tabulate(@NonNull Comparator<? super T> comparator, int n, @NonNull Function<? super Integer, ? extends T> f) Returns a TreeSet containingnvalues of a given Functionfover a range of integer values from 0 ton - 1.TreeSet.tail()TreeSet.take(int n) TreeSet.takeRight(int n) default <U,R> TreeSet <R> BitSet.zipWith(@NonNull Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) <U,R> TreeSet <R> TreeSet.zipWith(@NonNull Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) BitSet.zipWithIndex()default <U> TreeSet<U> BitSet.zipWithIndex(@NonNull BiFunction<? super T, ? super Integer, ? extends U> mapper) TreeSet.zipWithIndex()Methods in io.vavr.collection that return types with arguments of type TreeSetModifier and TypeMethodDescriptionstatic <T extends Comparable<? super T>>
Collector<T, ArrayList<T>, TreeSet<T>> TreeSet.collector()Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aTreeSet.TreeSet.collector(@NonNull Comparator<? super T> comparator) Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aTreeSet.TreeSet.grouped(int size) TreeSet.initOption()TreeSet.sliding(int size) TreeSet.sliding(int size, int step) TreeSet.tailOption()BitSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) BitSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) BitSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) TreeSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) TreeSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) TreeSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Methods in io.vavr.collection with parameters of type TreeSetModifier and TypeMethodDescriptionstatic <T> TreeSet<T> Narrows aTreeSet<? extends T>toTreeSet<T>via a type-safe cast.Method parameters in io.vavr.collection with type arguments of type TreeSet