Uses of Interface
io.vavr.collection.SortedSet
-
Packages that use SortedSet Package Description io.vavr BesideAPI
the 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(java.util.Comparator<? super T> comparator)
Alias forTreeSet.empty(Comparator)
static <T> SortedSet<T>
API. SortedSet(java.util.Comparator<? super T> comparator, T element)
Alias forTreeSet.of(Comparator, Object)
static <T> SortedSet<T>
API. SortedSet(java.util.Comparator<? super T> comparator, T... elements)
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... elements)
Alias forTreeSet.of(Comparable...)
default SortedSet<T>
Value. toSortedSet()
Converts this to aSortedSet
.default SortedSet<T>
Value. toSortedSet(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 interface
BitSet<T>
An immutableBitSet
implementation.Classes in io.vavr.collection that implement SortedSet Modifier and Type Class Description static class
BitSetModule.AbstractBitSet<T>
static class
BitSetModule.BitSet1<T>
static class
BitSetModule.BitSet2<T>
static class
BitSetModule.BitSetN<T>
class
TreeSet<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(java.lang.Iterable<? extends T> elements)
default <R> SortedSet<R>
BitSet. collect(PartialFunction<? super T,? extends R> partialFunction)
<R> SortedSet<R>
SortedSet. collect(PartialFunction<? super T,? extends R> partialFunction)
SortedSet<T>
SortedSet. diff(Set<? extends T> elements)
SortedSet<T>
SortedSet. distinct()
SortedSet<T>
SortedSet. distinctBy(java.util.Comparator<? super T> comparator)
<U> SortedSet<T>
SortedSet. distinctBy(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(java.util.function.Predicate<? super T> predicate)
SortedSet<T>
SortedSet. dropWhile(java.util.function.Predicate<? super T> predicate)
SortedSet<T>
SortedSet. filter(java.util.function.Predicate<? super T> predicate)
default <U> SortedSet<U>
BitSet. flatMap(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(java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)
<U> SortedSet<U>
SortedSet. flatMap(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(java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper)
SortedSet<T>
SortedSet. init()
SortedSet<T>
SortedSet. intersect(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(java.util.Comparator<? super U> comparator, java.util.function.Function<? super T,? extends U> mapper)
default <U> SortedSet<U>
BitSet. map(java.util.function.Function<? super T,? extends U> mapper)
<U> SortedSet<U>
SortedSet. map(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(java.util.function.Function<? super T,? extends U> mapper)
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(java.lang.Iterable<? extends T> other)
SortedSet<T>
SortedSet. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends T>> supplier)
SortedSet<T>
SortedSet. peek(java.util.function.Consumer<? super T> action)
SortedSet<T>
SortedSet. reject(java.util.function.Predicate<? super T> predicate)
SortedSet<T>
SortedSet. remove(T element)
SortedSet<T>
SortedSet. removeAll(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(java.lang.Iterable<? extends T> elements)
SortedSet<T>
SortedSet. scan(T zero, 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(java.util.function.Predicate<? super T> predicate)
SortedSet<T>
SortedSet. takeWhile(java.util.function.Predicate<? super T> predicate)
SortedSet<T>
SortedSet. union(Set<? extends T> elements)
<U> SortedSet<Tuple2<T,U>>
SortedSet. zip(java.lang.Iterable<? extends U> that)
<U> SortedSet<Tuple2<T,U>>
SortedSet. zipAll(java.lang.Iterable<? extends U> that, T thisElem, U thatElem)
<U,R>
SortedSet<R>SortedSet. zipWith(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(java.util.function.BiFunction<? super T,? super java.lang.Integer,? extends U> mapper)
<U> SortedSet<U>
TreeSet. zipWithIndex(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(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(java.util.function.Predicate<? super T> predicate)
Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>
SortedSet. partition(java.util.function.Predicate<? super T> predicate)
Iterator<? extends SortedSet<T>>
SortedSet. slideBy(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(java.util.function.Predicate<? super T> predicate)
Tuple2<? extends SortedSet<T>,? extends SortedSet<T>>
SortedSet. span(java.util.function.Predicate<? super T> predicate)
Option<? extends SortedSet<T>>
SortedSet. tailOption()
<T1,T2>
Tuple2<? extends SortedSet<T1>,? extends SortedSet<T2>>SortedSet. unzip(java.util.function.Function<? super T,Tuple2<? extends T1,? extends T2>> unzipper)
<T1,T2>
Tuple2<? extends SortedSet<T1>,? extends SortedSet<T2>>SortedSet. unzip(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(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(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(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.
-