Uses of Interface
io.vavr.collection.SortedSet
-
Packages that use SortedSet Package Description io.vavr BesideAPIthe io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.collection Purely functional collections based on Traversable. -
-
Uses of SortedSet in io.vavr
Methods in io.vavr that return SortedSet Modifier and Type Method Description static <T extends java.lang.Comparable<? super T>>
SortedSet<T>API. SortedSet()Alias forTreeSet.empty()static <T extends java.lang.Comparable<? super T>>
SortedSet<T>API. SortedSet(@NonNull java.util.Comparator<? super T> comparator)Alias forTreeSet.empty(Comparator)static <T> SortedSet<T>API. SortedSet(@NonNull java.util.Comparator<? super T> comparator, T @NonNull ... elements)Alias forTreeSet.of(Comparator, Object...)static <T> SortedSet<T>API. SortedSet(java.util.Comparator<? super T> comparator, T element)Alias forTreeSet.of(Comparator, Object)static <T extends java.lang.Comparable<? super T>>
SortedSet<T>API. SortedSet(T element)Alias forTreeSet.of(Comparable)static <T extends java.lang.Comparable<? super T>>
SortedSet<T>API. SortedSet(T @NonNull ... elements)Alias forTreeSet.of(Comparable...)default SortedSet<T>Value. toSortedSet()Converts this to aSortedSet.default SortedSet<T>Value. toSortedSet(@NonNull java.util.Comparator<? super T> comparator)Converts this to aSortedSet. -
Uses of SortedSet in io.vavr.collection
Subinterfaces of SortedSet in io.vavr.collection Modifier and Type Interface Description interfaceBitSet<T>An immutableBitSetimplementation.Classes in io.vavr.collection that implement SortedSet Modifier and Type Class Description static classBitSetModule.AbstractBitSet<T>static classBitSetModule.BitSet1<T>static classBitSetModule.BitSet2<T>static classBitSetModule.BitSetN<T>classTreeSet<T>SortedSet implementation, backed by a Red/Black Tree.Methods in io.vavr.collection that return SortedSet Modifier and Type Method Description SortedSet<T>SortedSet. add(T element)SortedSet<T>SortedSet. addAll(@NonNull java.lang.Iterable<? extends T> elements)default <R> SortedSet<R>BitSet. collect(@NonNull PartialFunction<? super T,? extends R> partialFunction)<R> SortedSet<R>SortedSet. collect(@NonNull PartialFunction<? super T,? extends R> partialFunction)SortedSet<T>SortedSet. diff(@NonNull Set<? extends T> elements)SortedSet<T>SortedSet. distinct()SortedSet<T>SortedSet. distinctBy(@NonNull java.util.Comparator<? super T> comparator)<U> SortedSet<T>SortedSet. distinctBy(@NonNull java.util.function.Function<? super T,? extends U> keyExtractor)SortedSet<T>SortedSet. drop(int n)SortedSet<T>SortedSet. dropRight(int n)SortedSet<T>SortedSet. dropUntil(@NonNull java.util.function.Predicate<? super T> predicate)SortedSet<T>SortedSet. dropWhile(@NonNull java.util.function.Predicate<? super T> predicate)SortedSet<T>SortedSet. filter(@NonNull java.util.function.Predicate<? super T> predicate)default <U> SortedSet<U>BitSet. flatMap(@NonNull java.util.Comparator<? super U> comparator, java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)default <U> SortedSet<U>BitSet. flatMap(@NonNull java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)<U> SortedSet<U>SortedSet. flatMap(@NonNull java.util.Comparator<? super U> comparator, java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)Same asflatMap(Function)but using a specific comparator for values of the codomain of the givenmapper.<U> SortedSet<U>SortedSet. flatMap(@NonNull java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)SortedSet<T>SortedSet. init()SortedSet<T>SortedSet. intersect(@NonNull Set<? extends T> elements)SortedSet<K>SortedMap. keySet()SortedSet<K>SortedMultimap. keySet()SortedSet<K>TreeMap. keySet()SortedSet<K>TreeMultimap. keySet()default <U> SortedSet<U>BitSet. map(@NonNull java.util.Comparator<? super U> comparator, java.util.function.Function<? super T,? extends U> mapper)default <U> SortedSet<U>BitSet. map(@NonNull java.util.function.Function<? super T,? extends U> mapper)<U> SortedSet<U>SortedSet. map(@NonNull java.util.Comparator<? super U> comparator, java.util.function.Function<? super T,? extends U> mapper)Same asmap(Function)but using a specific comparator for values of the codomain of the givenmapper.<U> SortedSet<U>SortedSet. map(@NonNull java.util.function.Function<? super T,? extends U> mapper)default <U> SortedSet<U>BitSet. mapTo(U value)default <U> SortedSet<U>SortedSet. mapTo(U value)default SortedSet<java.lang.Void>BitSet. mapToVoid()default SortedSet<java.lang.Void>SortedSet. mapToVoid()static <T> SortedSet<T>SortedSet. narrow(SortedSet<? extends T> sortedSet)Narrows a widenedSortedSet<? extends T>toSortedSet<T>by performing a type-safe cast.SortedSet<T>SortedSet. orElse(@NonNull java.lang.Iterable<? extends T> other)SortedSet<T>SortedSet. orElse(@NonNull java.util.function.Supplier<? extends java.lang.Iterable<? extends T>> supplier)SortedSet<T>SortedSet. peek(@NonNull java.util.function.Consumer<? super T> action)SortedSet<T>SortedSet. reject(@NonNull java.util.function.Predicate<? super T> predicate)SortedSet<T>SortedSet. remove(T element)SortedSet<T>SortedSet. removeAll(@NonNull java.lang.Iterable<? extends T> elements)SortedSet<T>SortedSet. replace(T currentElement, T newElement)SortedSet<T>SortedSet. replaceAll(T currentElement, T newElement)SortedSet<T>SortedSet. retainAll(@NonNull java.lang.Iterable<? extends T> elements)SortedSet<T>SortedSet. scan(T zero, @NonNull java.util.function.BiFunction<? super T,? super T,? extends T> operation)SortedSet<T>SortedSet. tail()SortedSet<T>SortedSet. take(int n)SortedSet<T>SortedSet. takeRight(int n)SortedSet<T>SortedSet. takeUntil(@NonNull java.util.function.Predicate<? super T> predicate)SortedSet<T>SortedSet. takeWhile(@NonNull java.util.function.Predicate<? super T> predicate)SortedSet<T>SortedSet. union(@NonNull Set<? extends T> elements)<U> SortedSet<Tuple2<T,U>>SortedSet. zip(@NonNull java.lang.Iterable<? extends U> that)<U> SortedSet<Tuple2<T,U>>SortedSet. zipAll(@NonNull java.lang.Iterable<? extends U> that, T thisElem, U thatElem)<U,R>
SortedSet<R>SortedSet. zipWith(@NonNull java.lang.Iterable<? extends U> that, java.util.function.BiFunction<? super T,? super U,? extends R> mapper)SortedSet<Tuple2<T,java.lang.Integer>>SortedSet. zipWithIndex()<U> SortedSet<U>SortedSet. zipWithIndex(@NonNull java.util.function.BiFunction<? super T,? super java.lang.Integer,? extends U> mapper)<U> SortedSet<U>TreeSet. zipWithIndex(@NonNull java.util.function.BiFunction<? super T,? super java.lang.Integer,? extends U> mapper)Methods in io.vavr.collection that return types with arguments of type SortedSet Modifier and Type Method Description <C> Map<C,? extends SortedSet<T>>SortedSet. groupBy(@NonNull java.util.function.Function<? super T,? extends C> classifier)Iterator<? extends SortedSet<T>>SortedSet. grouped(int size)Option<? extends SortedSet<T>>SortedSet. initOption()Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>SortedSet. partition(@NonNull java.util.function.Predicate<? super T> predicate)Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>SortedSet. partition(@NonNull java.util.function.Predicate<? super T> predicate)Iterator<? extends SortedSet<T>>SortedSet. slideBy(@NonNull java.util.function.Function<? super T,?> classifier)Iterator<? extends SortedSet<T>>SortedSet. sliding(int size)Iterator<? extends SortedSet<T>>SortedSet. sliding(int size, int step)Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>SortedSet. span(@NonNull java.util.function.Predicate<? super T> predicate)Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>SortedSet. span(@NonNull java.util.function.Predicate<? super T> predicate)Option<? extends SortedSet<T>>SortedSet. tailOption()<T1,T2>
Tuple2<? extends SortedSet<T1>,? extends SortedSet<T2>>SortedSet. unzip(@NonNull java.util.function.Function<? super T,Tuple2<? extends T1,? extends T2>> unzipper)<T1,T2>
Tuple2<? extends SortedSet<T1>,? extends SortedSet<T2>>SortedSet. unzip(@NonNull java.util.function.Function<? super T,Tuple2<? extends T1,? extends T2>> unzipper)<T1,T2,T3>
Tuple3<? extends SortedSet<T1>,? extends SortedSet<T2>,? extends SortedSet<T3>>SortedSet. unzip3(@NonNull java.util.function.Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper)<T1,T2,T3>
Tuple3<? extends SortedSet<T1>,? extends SortedSet<T2>,? extends SortedSet<T3>>SortedSet. unzip3(@NonNull java.util.function.Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper)<T1,T2,T3>
Tuple3<? extends SortedSet<T1>,? extends SortedSet<T2>,? extends SortedSet<T3>>SortedSet. unzip3(@NonNull java.util.function.Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper)Methods in io.vavr.collection with parameters of type SortedSet Modifier and Type Method Description static <T> SortedSet<T>SortedSet. narrow(SortedSet<? extends T> sortedSet)Narrows a widenedSortedSet<? extends T>toSortedSet<T>by performing a type-safe cast.
-