Uses of Interface
io.vavr.collection.SortedSet
Packages that use SortedSet
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.Purely functional collections based on Traversable.
-
Uses of SortedSet in io.vavr
Modifier and TypeMethodDescriptionstatic <T extends Comparable<? super T>>
SortedSet<T> API.SortedSet()Alias forTreeSet.empty()static <T extends Comparable<? super T>>
SortedSet<T> API.SortedSet(Comparator<? super T> comparator) Alias forTreeSet.empty(Comparator)static <T> SortedSet<T> API.SortedSet(Comparator<? super T> comparator, T element) Alias forTreeSet.of(Comparator, Object)static <T> SortedSet<T> API.SortedSet(Comparator<? super T> comparator, T... elements) Alias forTreeSet.of(Comparator, Object...)static <T extends Comparable<? super T>>
SortedSet<T> API.SortedSet(T element) Alias forTreeSet.of(Comparable)static <T extends Comparable<? super T>>
SortedSet<T> API.SortedSet(T... elements) Alias forTreeSet.of(Comparable...)Value.toSortedSet()Converts this to aSortedSet.Value.toSortedSet(Comparator<? super T> comparator) Converts this to aSortedSet. -
Uses of SortedSet in io.vavr.collection
Subinterfaces of SortedSet in io.vavr.collectionClasses in io.vavr.collection that implement SortedSetModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classfinal classTreeSet<T>SortedSet implementation, backed by a Red/Black Tree.Methods in io.vavr.collection that return SortedSetModifier and TypeMethodDescriptiondefault <R> SortedSet<R> BitSet.collect(PartialFunction<? super T, ? extends R> partialFunction) <R> SortedSet<R> SortedSet.collect(PartialFunction<? super T, ? extends R> partialFunction) SortedSet.distinct()SortedSet.distinctBy(Comparator<? super T> comparator) SortedSet.distinctBy(Function<? super T, ? extends U> keyExtractor) SortedSet.drop(int n) SortedSet.dropRight(int n) default <U> SortedSet<U> BitSet.flatMap(Comparator<? super U> comparator, Function<? super T, ? extends Iterable<? extends U>> mapper) default <U> SortedSet<U> <U> SortedSet<U> SortedSet.flatMap(Comparator<? super U> comparator, Function<? super T, ? extends Iterable<? extends U>> mapper) Same asSortedSet.flatMap(Function)but using a specific comparator for values of the codomain of the givenmapper.<U> SortedSet<U> SortedSet.init()SortedMap.keySet()SortedMultimap.keySet()TreeMap.keySet()TreeMultimap.keySet()default <U> SortedSet<U> BitSet.map(Comparator<? super U> comparator, Function<? super T, ? extends U> mapper) default <U> SortedSet<U> <U> SortedSet<U> SortedSet.map(Comparator<? super U> comparator, Function<? super T, ? extends U> mapper) Same asSortedSet.map(Function)but using a specific comparator for values of the codomain of the givenmapper.<U> SortedSet<U> static <T> SortedSet<T> Narrows a widenedSortedSet<? extends T>toSortedSet<T>by performing a type-safe cast.SortedSet.replaceAll(T currentElement, T newElement) SortedSet.tail()SortedSet.take(int n) SortedSet.takeRight(int n) <U,R> SortedSet <R> SortedSet.zipWith(Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) SortedSet.zipWithIndex()<U> SortedSet<U> SortedSet.zipWithIndex(BiFunction<? super T, ? super Integer, ? extends U> mapper) <U> SortedSet<U> TreeSet.zipWithIndex(BiFunction<? super T, ? super Integer, ? extends U> mapper) Methods in io.vavr.collection that return types with arguments of type SortedSetModifier and TypeMethodDescriptionSortedSet.grouped(int size) SortedSet.initOption()SortedSet.sliding(int size) SortedSet.sliding(int size, int step) SortedSet.tailOption()Methods in io.vavr.collection with parameters of type SortedSet