public class SynchronizedSortedSet<T> extends AbstractSynchronizedMutableCollection<T> implements MutableSortedSet<T>, Serializable
MutableSortedSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
standard JDK iterator or JDK 5 for loop, as per Collections.synchronizedCollection(Collection).MutableSortedSet.asSynchronized(),
Serialized Formadd, addAll, addAllIterable, aggregateBy, aggregateInPlaceBy, clear, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, equals, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, hashCode, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, iterator, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableList, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitflatCollectWith, toImmutableSortedSet, with, withAll, without, withoutAlladdAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongequals, hashCodemax, minforEachWithIndex, getFirst, getLast, zip, zipWithIndexaggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, maxBy, maxByOptional, maxOptional, maxOptional, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringforEach, forEachWithspliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic static <E,S extends SortedSet<E>> SynchronizedSortedSet<E> of(S set)
public static <E,S extends SortedSet<E>> MutableSortedSet<E> of(S set, Object lock)
public MutableSortedSet<T> newEmpty()
newEmpty in interface MutableCollection<T>newEmpty in interface MutableSortedSet<T>public MutableSortedSet<T> clone()
clone in interface MutableSortedSet<T>clone in class Objectpublic Comparator<? super T> comparator()
comparator in interface SortedSet<T>comparator in interface SortedIterable<T>comparator in interface SortedSetIterable<T>public int compareTo(SortedSetIterable<T> o)
compareTo in interface Comparable<SortedSetIterable<T>>public Optional<T> getFirstOptional()
getFirstOptional in interface OrderedIterable<T>public Optional<T> getLastOptional()
getLastOptional in interface OrderedIterable<T>public int indexOf(Object object)
indexOf in interface OrderedIterable<T>public MutableStack<T> toStack()
toStack in interface OrderedIterable<T>public PartitionMutableSortedSet<T> partitionWhile(Predicate<? super T> predicate)
partitionWhile in interface OrderedIterable<T>partitionWhile in interface ReversibleIterable<T>partitionWhile in interface SortedIterable<T>partitionWhile in interface MutableSortedSet<T>partitionWhile in interface SortedSetIterable<T>public MutableSortedSet<T> distinct()
distinct in interface OrderedIterable<T>distinct in interface ReversibleIterable<T>distinct in interface SortedIterable<T>distinct in interface MutableSortedSet<T>distinct in interface SortedSetIterable<T>public MutableSortedSet<T> takeWhile(Predicate<? super T> predicate)
takeWhile in interface OrderedIterable<T>takeWhile in interface ReversibleIterable<T>takeWhile in interface SortedIterable<T>takeWhile in interface MutableSortedSet<T>takeWhile in interface SortedSetIterable<T>public MutableSortedSet<T> dropWhile(Predicate<? super T> predicate)
dropWhile in interface OrderedIterable<T>dropWhile in interface ReversibleIterable<T>dropWhile in interface SortedIterable<T>dropWhile in interface MutableSortedSet<T>dropWhile in interface SortedSetIterable<T>public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super T,? super S> predicate)
corresponds in interface OrderedIterable<T>public void forEach(int startIndex,
int endIndex,
Procedure<? super T> procedure)
forEach in interface OrderedIterable<T>public void forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface OrderedIterable<T>public int detectIndex(Predicate<? super T> predicate)
detectIndex in interface OrderedIterable<T>public MutableSortedSet<T> tap(Procedure<? super T> procedure)
tap in interface MutableCollection<T>tap in interface OrderedIterable<T>tap in interface ReversibleIterable<T>tap in interface SortedIterable<T>tap in interface RichIterable<T>tap in interface MutableSetIterable<T>tap in interface SetIterable<T>tap in interface MutableSortedSet<T>tap in interface SortedSetIterable<T>tap in class AbstractSynchronizedMutableCollection<T>public MutableSortedSet<T> select(Predicate<? super T> predicate)
select in interface MutableCollection<T>select in interface OrderedIterable<T>select in interface ReversibleIterable<T>select in interface SortedIterable<T>select in interface RichIterable<T>select in interface MutableSetIterable<T>select in interface SetIterable<T>select in interface MutableSortedSet<T>select in interface SortedSetIterable<T>select in class AbstractSynchronizedMutableCollection<T>public <P> MutableSortedSet<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface MutableCollection<T>selectWith in interface OrderedIterable<T>selectWith in interface ReversibleIterable<T>selectWith in interface SortedIterable<T>selectWith in interface RichIterable<T>selectWith in interface MutableSetIterable<T>selectWith in interface SetIterable<T>selectWith in interface MutableSortedSet<T>selectWith in interface SortedSetIterable<T>selectWith in class AbstractSynchronizedMutableCollection<T>public MutableSortedSet<T> reject(Predicate<? super T> predicate)
reject in interface MutableCollection<T>reject in interface OrderedIterable<T>reject in interface ReversibleIterable<T>reject in interface SortedIterable<T>reject in interface RichIterable<T>reject in interface MutableSetIterable<T>reject in interface SetIterable<T>reject in interface MutableSortedSet<T>reject in interface SortedSetIterable<T>reject in class AbstractSynchronizedMutableCollection<T>public <P> MutableSortedSet<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface MutableCollection<T>rejectWith in interface OrderedIterable<T>rejectWith in interface ReversibleIterable<T>rejectWith in interface SortedIterable<T>rejectWith in interface RichIterable<T>rejectWith in interface MutableSetIterable<T>rejectWith in interface SetIterable<T>rejectWith in interface MutableSortedSet<T>rejectWith in interface SortedSetIterable<T>rejectWith in class AbstractSynchronizedMutableCollection<T>public PartitionMutableSortedSet<T> partition(Predicate<? super T> predicate)
partition in interface MutableCollection<T>partition in interface OrderedIterable<T>partition in interface ReversibleIterable<T>partition in interface SortedIterable<T>partition in interface RichIterable<T>partition in interface MutableSetIterable<T>partition in interface SetIterable<T>partition in interface MutableSortedSet<T>partition in interface SortedSetIterable<T>partition in class AbstractSynchronizedMutableCollection<T>public <P> PartitionMutableSortedSet<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface MutableCollection<T>partitionWith in interface OrderedIterable<T>partitionWith in interface ReversibleIterable<T>partitionWith in interface RichIterable<T>partitionWith in interface MutableSetIterable<T>partitionWith in interface SetIterable<T>partitionWith in interface MutableSortedSet<T>partitionWith in interface SortedSetIterable<T>partitionWith in class AbstractSynchronizedMutableCollection<T>public <S> MutableSortedSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableCollection<T>selectInstancesOf in interface OrderedIterable<T>selectInstancesOf in interface ReversibleIterable<T>selectInstancesOf in interface SortedIterable<T>selectInstancesOf in interface RichIterable<T>selectInstancesOf in interface MutableSetIterable<T>selectInstancesOf in interface SetIterable<T>selectInstancesOf in interface MutableSortedSet<T>selectInstancesOf in interface SortedSetIterable<T>selectInstancesOf in class AbstractSynchronizedMutableCollection<T>public <V> MutableList<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface OrderedIterable<T>collect in interface ReversibleIterable<T>collect in interface RichIterable<T>collect in interface MutableSortedSet<T>collect in interface SortedSetIterable<T>collect in class AbstractSynchronizedMutableCollection<T>public <V> MutableList<V> collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function)
collectWithIndex in interface OrderedIterable<T>collectWithIndex in interface ReversibleIterable<T>collectWithIndex in interface MutableSortedSet<T>collectWithIndex in interface SortedSetIterable<T>public <V,R extends Collection<V>> R collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function, R target)
collectWithIndex in interface OrderedIterable<T>public <R extends Collection<T>> R selectWithIndex(ObjectIntPredicate<? super T> predicate, R target)
selectWithIndex in interface OrderedIterable<T>public <R extends Collection<T>> R rejectWithIndex(ObjectIntPredicate<? super T> predicate, R target)
rejectWithIndex in interface OrderedIterable<T>public MutableBooleanList collectBoolean(BooleanFunction<? super T> booleanFunction)
collectBoolean in interface MutableCollection<T>collectBoolean in interface OrderedIterable<T>collectBoolean in interface ReversibleIterable<T>collectBoolean in interface RichIterable<T>collectBoolean in interface MutableSortedSet<T>collectBoolean in interface SortedSetIterable<T>collectBoolean in class AbstractSynchronizedMutableCollection<T>public MutableByteList collectByte(ByteFunction<? super T> byteFunction)
collectByte in interface MutableCollection<T>collectByte in interface OrderedIterable<T>collectByte in interface ReversibleIterable<T>collectByte in interface RichIterable<T>collectByte in interface MutableSortedSet<T>collectByte in interface SortedSetIterable<T>collectByte in class AbstractSynchronizedMutableCollection<T>public MutableCharList collectChar(CharFunction<? super T> charFunction)
collectChar in interface MutableCollection<T>collectChar in interface OrderedIterable<T>collectChar in interface ReversibleIterable<T>collectChar in interface RichIterable<T>collectChar in interface MutableSortedSet<T>collectChar in interface SortedSetIterable<T>collectChar in class AbstractSynchronizedMutableCollection<T>public MutableDoubleList collectDouble(DoubleFunction<? super T> doubleFunction)
collectDouble in interface MutableCollection<T>collectDouble in interface OrderedIterable<T>collectDouble in interface ReversibleIterable<T>collectDouble in interface RichIterable<T>collectDouble in interface MutableSortedSet<T>collectDouble in interface SortedSetIterable<T>collectDouble in class AbstractSynchronizedMutableCollection<T>public MutableFloatList collectFloat(FloatFunction<? super T> floatFunction)
collectFloat in interface MutableCollection<T>collectFloat in interface OrderedIterable<T>collectFloat in interface ReversibleIterable<T>collectFloat in interface RichIterable<T>collectFloat in interface MutableSortedSet<T>collectFloat in interface SortedSetIterable<T>collectFloat in class AbstractSynchronizedMutableCollection<T>public MutableIntList collectInt(IntFunction<? super T> intFunction)
collectInt in interface MutableCollection<T>collectInt in interface OrderedIterable<T>collectInt in interface ReversibleIterable<T>collectInt in interface RichIterable<T>collectInt in interface MutableSortedSet<T>collectInt in interface SortedSetIterable<T>collectInt in class AbstractSynchronizedMutableCollection<T>public MutableLongList collectLong(LongFunction<? super T> longFunction)
collectLong in interface MutableCollection<T>collectLong in interface OrderedIterable<T>collectLong in interface ReversibleIterable<T>collectLong in interface RichIterable<T>collectLong in interface MutableSortedSet<T>collectLong in interface SortedSetIterable<T>collectLong in class AbstractSynchronizedMutableCollection<T>public MutableShortList collectShort(ShortFunction<? super T> shortFunction)
collectShort in interface MutableCollection<T>collectShort in interface OrderedIterable<T>collectShort in interface ReversibleIterable<T>collectShort in interface RichIterable<T>collectShort in interface MutableSortedSet<T>collectShort in interface SortedSetIterable<T>collectShort in class AbstractSynchronizedMutableCollection<T>public <P,V> MutableList<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface MutableCollection<T>collectWith in interface OrderedIterable<T>collectWith in interface ReversibleIterable<T>collectWith in interface RichIterable<T>collectWith in interface MutableSortedSet<T>collectWith in interface SortedSetIterable<T>collectWith in class AbstractSynchronizedMutableCollection<T>public <V> MutableList<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface MutableCollection<T>collectIf in interface OrderedIterable<T>collectIf in interface ReversibleIterable<T>collectIf in interface RichIterable<T>collectIf in interface MutableSortedSet<T>collectIf in interface SortedSetIterable<T>collectIf in class AbstractSynchronizedMutableCollection<T>public <V> MutableList<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface OrderedIterable<T>flatCollect in interface ReversibleIterable<T>flatCollect in interface RichIterable<T>flatCollect in interface MutableSortedSet<T>flatCollect in interface SortedSetIterable<T>flatCollect in class AbstractSynchronizedMutableCollection<T>public <V> MutableSortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface MutableCollection<T>groupBy in interface OrderedIterable<T>groupBy in interface ReversibleIterable<T>groupBy in interface SortedIterable<T>groupBy in interface RichIterable<T>groupBy in interface MutableSetIterable<T>groupBy in interface MutableSortedSet<T>groupBy in interface SortedSetIterable<T>groupBy in class AbstractSynchronizedMutableCollection<T>public <V> MutableSortedSetMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface MutableCollection<T>groupByEach in interface OrderedIterable<T>groupByEach in interface ReversibleIterable<T>groupByEach in interface SortedIterable<T>groupByEach in interface RichIterable<T>groupByEach in interface MutableSetIterable<T>groupByEach in interface MutableSortedSet<T>groupByEach in interface SortedSetIterable<T>groupByEach in class AbstractSynchronizedMutableCollection<T>public <S> MutableList<Pair<T,S>> zip(Iterable<S> that)
zip in interface MutableCollection<T>zip in interface OrderedIterable<T>zip in interface ReversibleIterable<T>zip in interface SortedIterable<T>zip in interface RichIterable<T>zip in interface MutableSetIterable<T>zip in interface MutableSortedSet<T>zip in class AbstractSynchronizedMutableCollection<T>public MutableSortedSet<Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface MutableCollection<T>zipWithIndex in interface OrderedIterable<T>zipWithIndex in interface ReversibleIterable<T>zipWithIndex in interface SortedIterable<T>zipWithIndex in interface RichIterable<T>zipWithIndex in interface MutableSetIterable<T>zipWithIndex in interface SetIterable<T>zipWithIndex in interface MutableSortedSet<T>zipWithIndex in interface SortedSetIterable<T>zipWithIndex in class AbstractSynchronizedMutableCollection<T>public <R extends Set<T>> R unionInto(SetIterable<? extends T> set, R targetSet)
unionInto in interface SetIterable<T>public <R extends Set<T>> R intersectInto(SetIterable<? extends T> set, R targetSet)
intersectInto in interface SetIterable<T>public <R extends Set<T>> R differenceInto(SetIterable<? extends T> subtrahendSet, R targetSet)
differenceInto in interface SetIterable<T>public <R extends Set<T>> R symmetricDifferenceInto(SetIterable<? extends T> set, R targetSet)
symmetricDifferenceInto in interface SetIterable<T>public boolean isSubsetOf(SetIterable<? extends T> candidateSuperset)
isSubsetOf in interface SetIterable<T>public boolean isProperSubsetOf(SetIterable<? extends T> candidateSuperset)
isProperSubsetOf in interface SetIterable<T>public <B> LazyIterable<Pair<T,B>> cartesianProduct(SetIterable<B> set)
cartesianProduct in interface SetIterable<T>public MutableSortedSet<T> union(SetIterable<? extends T> set)
union in interface SetIterable<T>union in interface MutableSortedSet<T>union in interface SortedSetIterable<T>public MutableSortedSet<T> intersect(SetIterable<? extends T> set)
intersect in interface SetIterable<T>intersect in interface MutableSortedSet<T>intersect in interface SortedSetIterable<T>public MutableSortedSet<T> difference(SetIterable<? extends T> subtrahendSet)
difference in interface SetIterable<T>difference in interface MutableSortedSet<T>difference in interface SortedSetIterable<T>public MutableSortedSet<T> symmetricDifference(SetIterable<? extends T> setB)
symmetricDifference in interface SetIterable<T>symmetricDifference in interface MutableSortedSet<T>symmetricDifference in interface SortedSetIterable<T>public MutableSortedSet<SortedSetIterable<T>> powerSet()
powerSet in interface MutableSortedSet<T>powerSet in interface SortedSetIterable<T>public ParallelSortedSetIterable<T> asParallel(ExecutorService executorService, int batchSize)
asParallel in interface SetIterable<T>asParallel in interface SortedSetIterable<T>public ImmutableSortedSet<T> toImmutable()
toImmutable in interface MutableCollection<T>toImmutable in interface SetIterable<T>toImmutable in interface MutableSortedSet<T>toImmutable in interface SortedSetIterable<T>public MutableSortedSet<T> asUnmodifiable()
asUnmodifiable in interface MutableCollection<T>asUnmodifiable in interface MutableSortedSet<T>public MutableSortedSet<T> asSynchronized()
asSynchronized in interface MutableCollection<T>asSynchronized in interface MutableSortedSet<T>public MutableSortedSet<T> subSet(T fromElement, T toElement)
public MutableSortedSet<T> headSet(T toElement)
public MutableSortedSet<T> tailSet(T fromElement)
public void reverseForEach(Procedure<? super T> procedure)
reverseForEach in interface ReversibleIterable<T>public void reverseForEachWithIndex(ObjectIntProcedure<? super T> procedure)
reverseForEachWithIndex in interface ReversibleIterable<T>public LazyIterable<T> asReversed()
asReversed in interface ReversibleIterable<T>public MutableSortedSet<T> toReversed()
toReversed in interface ReversibleIterable<T>toReversed in interface MutableSortedSet<T>toReversed in interface SortedSetIterable<T>public int detectLastIndex(Predicate<? super T> predicate)
detectLastIndex in interface ReversibleIterable<T>public MutableSortedSet<T> take(int count)
take in interface ReversibleIterable<T>take in interface MutableSortedSet<T>take in interface SortedSetIterable<T>public MutableSortedSet<T> drop(int count)
drop in interface ReversibleIterable<T>drop in interface MutableSortedSet<T>drop in interface SortedSetIterable<T>Copyright © 2004–2022. All rights reserved.