| Modifier and Type | Method and Description |
|---|---|
| public MutableSortedSet | asSynchronized()
Redeclares org. Returns a synchronized wrapper backed by this collection. |
| public MutableSortedSet | Returns: an unmodifiable view of this setRedeclares org. Returns an unmodifiable view of the set. |
| public MutableSortedSet | |
| public <V> MutableList | collect(Function<? super T, ? extends V> function)
Redeclares org. Returns a new MutableCollection with the results of applying the specified function to each element of the source collection. |
| public MutableBooleanList | collectBoolean(BooleanFunction<? super T> booleanFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableByteList | collectByte(ByteFunction<? super T> byteFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableCharList | collectChar(CharFunction<? super T> charFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableDoubleList | collectDouble(DoubleFunction<? super T> doubleFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableFloatList | collectFloat(FloatFunction<? super T> floatFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public <V> MutableList | collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function)
Redeclares org. Returns a new MutableCollection with the results of applying the specified function to each element of the source collection, but only for elements that evaluate to true for the specified predicate. |
| public MutableIntList | collectInt(IntFunction<? super T> intFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableLongList | collectLong(LongFunction<? super T> longFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public MutableShortList | collectShort(ShortFunction<? super T> shortFunction)
Redeclares org. Redeclares as abstract: org. Returns a new primitive |
| public <P, V> MutableList | collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter)
Redeclares org. Same as |
| public default <V> MutableList | collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function)
Overrides default org. Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index. |
| public MutableSortedSet | difference(SetIterable<? extends T> subtrahendSet)
Redeclares org. Returns the set of all members of |
| public MutableSortedSet | distinct()
Redeclares org. Returns a new |
| public MutableSortedSet | drop(int count)
Redeclares org. Returns an iterable after skipping the first |
| public MutableSortedSet | dropWhile(Predicate<? super T> predicate)
Redeclares org. Returns the final elements that do not satisfy the Predicate. |
| public <V> MutableList | flatCollect(Function<? super T, ? extends Iterable<V>> function)
Redeclares org.
|
| public default <P, V> MutableList | flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter)
Overrides default org. Same as flatCollect, only with a Function2 that is passed an extra parameter. |
| public default T | getFirst()
Overrides default java. Implements org. This default override exists because java.util.SortedSet added a default getFirst() method in Java 21. |
| public default T | getLast()
Overrides default java. Implements org. This default override exists because java.util.SortedSet added a default getLast() method in Java 21. |
| public <V> MutableSortedSetMultimap | groupBy(Function<? super T, ? extends V> function)
Redeclares org. For each element of the iterable, the function is evaluated and the results of these evaluations are collected into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) species of collection as the source iterable. |
| public <V> MutableSortedSetMultimap | groupByEach(Function<? super T, ? extends Iterable<V>> function)
Redeclares org. Similar to |
| public MutableSortedSet | headSet(T toElement)
Redeclares java. Returns a view of the portion of this set whose elements are
strictly less than |
| public MutableSortedSet | intersect(SetIterable<? extends T> set)
Redeclares org. Returns the set of all objects that are members of both |
| public MutableSortedSet | newEmpty()
Redeclares org. Creates a new empty mutable version of the same collection type. |
| public PartitionMutableSortedSet | partition(Predicate<? super T> predicate)
Redeclares org. Filters a collection into a PartitionedIterable based on the evaluation of the predicate. |
| public PartitionMutableSortedSet | partitionWhile(Predicate<? super T> predicate)
Redeclares org. Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements. |
| public <P> PartitionMutableSortedSet | partitionWith(Predicate2<? super T, ? super P> predicate, P parameter)
Redeclares org. Filters a collection into a PartitionIterable based on the evaluation of the predicate. |
| public MutableSortedSet | powerSet()
Redeclares org. Returns the set whose members are all possible subsets of |
| public MutableSortedSet | reject(Predicate<? super T> predicate)
Redeclares org. Returns a MutableCollection with all elements that evaluate to false for the specified predicate. |
| public <P> MutableSortedSet | rejectWith(Predicate2<? super T, ? super P> predicate, P parameter)
Redeclares org. Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter. |
| public MutableSortedSet | select(Predicate<? super T> predicate)
Redeclares org. Returns a MutableCollection with all elements that evaluate to true for the specified predicate. |
| public <S> MutableSortedSet | selectInstancesOf(Class<S> clazz)
Redeclares org. Returns all elements of the source collection that are instances of the Class |
| public <P> MutableSortedSet | selectWith(Predicate2<? super T, ? super P> predicate, P parameter)
Redeclares org. Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter. |
| public MutableSortedSet | subSet(T fromElement, T toElement)
Redeclares java. Returns a view of the portion of this set whose elements range
from |
| public MutableSortedSet | symmetricDifference(SetIterable<? extends T> setB)
Redeclares org. Returns the set of all objects that are a member of exactly one of |
| public MutableSortedSet | tailSet(T fromElement)
Redeclares java. Returns a view of the portion of this set whose elements are
greater than or equal to |
| public MutableSortedSet | take(int count)
Redeclares org. Returns the first |
| public MutableSortedSet | takeWhile(Predicate<? super T> predicate)
Redeclares org. Returns the initial elements that satisfy the Predicate. |
| public MutableSortedSet | tap(Procedure<? super T> procedure)
Redeclares org. Executes the Procedure for each element in the iterable and returns |
| public ImmutableSortedSet | toImmutable()
Redeclares org. Returns an immutable copy of this set. |
| public default ImmutableSortedSet | toImmutableSortedSet()
Overrides default org. Converts the RichIterable to the default ImmutableSortedSet implementation. |
| public MutableSortedSet | toReversed()
Redeclares org. Returns a new ReversibleIterable in reverse order. |
| public MutableSortedSet | union(SetIterable<? extends T> set)
Redeclares org. Returns the set of all objects that are a member of |
| public default MutableSortedSet | with(T element)
Overrides default org. This method allows mutable and fixed size collections the ability to add elements to their existing elements. |
| public default MutableSortedSet | withAll(Iterable<? extends T> elements)
Overrides default org. This method allows mutable and fixed size collections the ability to add multiple elements to their existing elements. |
| public default MutableSortedSet | without(T element)
Overrides default org. This method allows mutable and fixed size collections the ability to remove elements from their existing elements. |
| public default MutableSortedSet | withoutAll(Iterable<? extends T> elements)
Overrides default org. This method allows mutable and fixed size collections the ability to remove multiple elements from their existing elements. |
| public <S> MutableList | zip(Iterable<S> that)
Redeclares org. Returns a |
| public MutableSortedSet | zipWithIndex()
Redeclares org. Zips this |