Class SynchronizedSortedSet<T>
java.lang.Object
org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable<T>
org.eclipse.collections.impl.collection.mutable.AbstractSynchronizedMutableCollection<T>
org.eclipse.collections.impl.set.sorted.mutable.SynchronizedSortedSet<T>
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SortedSetIterable<T>>,Iterable<T>,Collection<T>,Set<T>,SortedSet<T>,MutableCollection<T>,InternalIterable<T>,OrderedIterable<T>,ReversibleIterable<T>,SortedIterable<T>,RichIterable<T>,MutableSetIterable<T>,SetIterable<T>,MutableSortedSet<T>,SortedSetIterable<T>
public class SynchronizedSortedSet<T>
extends AbstractSynchronizedMutableCollection<T>
implements MutableSortedSet<T>, Serializable
A synchronized view of a
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).-
Method Summary
Modifier and TypeMethodDescriptionasParallel(ExecutorService executorService, int batchSize) <B> LazyIterable<Pair<T,B>> cartesianProduct(SetIterable<B> set) clone()<V> MutableList<V>collectBoolean(BooleanFunction<? super T> booleanFunction) collectByte(ByteFunction<? super T> byteFunction) collectChar(CharFunction<? super T> charFunction) collectDouble(DoubleFunction<? super T> doubleFunction) collectFloat(FloatFunction<? super T> floatFunction) <V> MutableList<V>collectInt(IntFunction<? super T> intFunction) collectLong(LongFunction<? super T> longFunction) collectShort(ShortFunction<? super T> shortFunction) <P,V> MutableList<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> MutableList<V>collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function) <V,R extends Collection<V>>
RcollectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function, R target) Comparator<? super T>int<S> booleancorresponds(OrderedIterable<S> other, Predicate2<? super T, ? super S> predicate) intdetectIndex(Predicate<? super T> predicate) intdetectLastIndex(Predicate<? super T> predicate) difference(SetIterable<? extends T> subtrahendSet) differenceInto(SetIterable<? extends T> subtrahendSet, R targetSet) distinct()drop(int count) first()<V> MutableList<V>flatCollect(Function<? super T, ? extends Iterable<V>> function) voidvoidforEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure) <V> MutableSortedSetMultimap<V,T> <V> MutableSortedSetMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) intintersect(SetIterable<? extends T> set) intersectInto(SetIterable<? extends T> set, R targetSet) booleanisProperSubsetOf(SetIterable<? extends T> candidateSuperset) booleanisSubsetOf(SetIterable<? extends T> candidateSuperset) last()newEmpty()static <E,S extends SortedSet<E>>
SynchronizedSortedSet<E>of(S set) This method will take a MutableSortedSet and wrap it directly in a SynchronizedSortedSet.static <E,S extends SortedSet<E>>
MutableSortedSet<E>This method will take a MutableSortedSet and wrap it directly in a SynchronizedSortedSet.partitionWhile(Predicate<? super T> predicate) partitionWith(Predicate2<? super T, ? super P> predicate, P parameter) powerSet()<P> MutableSortedSet<T>rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) <R extends Collection<T>>
RrejectWithIndex(ObjectIntPredicate<? super T> predicate, R target) voidreverseForEach(Procedure<? super T> procedure) voidreverseForEachWithIndex(ObjectIntProcedure<? super T> procedure) <S> MutableSortedSet<S>selectInstancesOf(Class<S> clazz) <P> MutableSortedSet<T>selectWith(Predicate2<? super T, ? super P> predicate, P parameter) <R extends Collection<T>>
RselectWithIndex(ObjectIntPredicate<? super T> predicate, R target) symmetricDifference(SetIterable<? extends T> setB) symmetricDifferenceInto(SetIterable<? extends T> set, R targetSet) take(int count) toStack()union(SetIterable<? extends T> set) unionInto(SetIterable<? extends T> set, R targetSet) <S> MutableList<Pair<T,S>> Methods inherited from class org.eclipse.collections.impl.collection.mutable.AbstractSynchronizedMutableCollection
add, addAll, addAllIterable, aggregateBy, aggregateInPlaceBy, clear, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongMethods inherited from class org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable
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, 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, reduceBy, 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, zipWithIndexMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEach, forEachWithMethods inherited from interface org.eclipse.collections.api.collection.MutableCollection
addAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, toArray, toArrayMethods inherited from interface org.eclipse.collections.api.set.MutableSetIterable
toArray, toArrayMethods inherited from interface org.eclipse.collections.api.set.sorted.MutableSortedSet
flatCollectWith, getFirst, getLast, toImmutableSortedSet, with, withAll, without, withoutAllMethods inherited from interface org.eclipse.collections.api.ordered.OrderedIterable
forEachWithIndex, zip, zipWithIndexMethods inherited from interface org.eclipse.collections.api.ordered.ReversibleIterable
asReversedMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, 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, reduceBy, reduceBy, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, 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, toStringMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface org.eclipse.collections.api.set.SetIterable
equals, hashCodeMethods inherited from interface org.eclipse.collections.api.ordered.SortedIterable
max, minMethods inherited from interface java.util.SortedSet
spliterator
-
Method Details
-
of
This method will take a MutableSortedSet and wrap it directly in a SynchronizedSortedSet. It will take any other non-Eclipse-Collections collection and first adapt it will a SortedSetAdapter, and then return a SynchronizedSortedSet that wraps the adapter. -
of
This method will take a MutableSortedSet and wrap it directly in a SynchronizedSortedSet. It will take any other non-Eclipse-Collections collection and first adapt it will a SortedSetAdapter, and then return a SynchronizedSortedSet that wraps the adapter. Additionally, a developer specifies which lock to use with the collection. -
newEmpty
- Specified by:
newEmptyin interfaceMutableCollection<T>- Specified by:
newEmptyin interfaceMutableSortedSet<T>
-
clone
- Specified by:
clonein interfaceMutableSortedSet<T>
-
comparator
- Specified by:
comparatorin interfaceSortedIterable<T>- Specified by:
comparatorin interfaceSortedSet<T>- Specified by:
comparatorin interfaceSortedSetIterable<T>
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-
first
-
last
-
getFirstOptional
- Specified by:
getFirstOptionalin interfaceOrderedIterable<T>
-
getLastOptional
- Specified by:
getLastOptionalin interfaceOrderedIterable<T>
-
indexOf
- Specified by:
indexOfin interfaceOrderedIterable<T>
-
toStack
- Specified by:
toStackin interfaceOrderedIterable<T>
-
partitionWhile
- Specified by:
partitionWhilein interfaceMutableSortedSet<T>- Specified by:
partitionWhilein interfaceOrderedIterable<T>- Specified by:
partitionWhilein interfaceReversibleIterable<T>- Specified by:
partitionWhilein interfaceSortedIterable<T>- Specified by:
partitionWhilein interfaceSortedSetIterable<T>
-
distinct
- Specified by:
distinctin interfaceMutableSortedSet<T>- Specified by:
distinctin interfaceOrderedIterable<T>- Specified by:
distinctin interfaceReversibleIterable<T>- Specified by:
distinctin interfaceSortedIterable<T>- Specified by:
distinctin interfaceSortedSetIterable<T>
-
takeWhile
- Specified by:
takeWhilein interfaceMutableSortedSet<T>- Specified by:
takeWhilein interfaceOrderedIterable<T>- Specified by:
takeWhilein interfaceReversibleIterable<T>- Specified by:
takeWhilein interfaceSortedIterable<T>- Specified by:
takeWhilein interfaceSortedSetIterable<T>
-
dropWhile
- Specified by:
dropWhilein interfaceMutableSortedSet<T>- Specified by:
dropWhilein interfaceOrderedIterable<T>- Specified by:
dropWhilein interfaceReversibleIterable<T>- Specified by:
dropWhilein interfaceSortedIterable<T>- Specified by:
dropWhilein interfaceSortedSetIterable<T>
-
corresponds
- Specified by:
correspondsin interfaceOrderedIterable<T>
-
forEach
- Specified by:
forEachin interfaceOrderedIterable<T>
-
forEachWithIndex
public void forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure) - Specified by:
forEachWithIndexin interfaceOrderedIterable<T>
-
detectIndex
- Specified by:
detectIndexin interfaceOrderedIterable<T>
-
tap
- Specified by:
tapin interfaceMutableCollection<T>- Specified by:
tapin interfaceMutableSetIterable<T>- Specified by:
tapin interfaceMutableSortedSet<T>- Specified by:
tapin interfaceOrderedIterable<T>- Specified by:
tapin interfaceReversibleIterable<T>- Specified by:
tapin interfaceRichIterable<T>- Specified by:
tapin interfaceSetIterable<T>- Specified by:
tapin interfaceSortedIterable<T>- Specified by:
tapin interfaceSortedSetIterable<T>- Overrides:
tapin classAbstractSynchronizedMutableCollection<T>
-
select
- Specified by:
selectin interfaceMutableCollection<T>- Specified by:
selectin interfaceMutableSetIterable<T>- Specified by:
selectin interfaceMutableSortedSet<T>- Specified by:
selectin interfaceOrderedIterable<T>- Specified by:
selectin interfaceReversibleIterable<T>- Specified by:
selectin interfaceRichIterable<T>- Specified by:
selectin interfaceSetIterable<T>- Specified by:
selectin interfaceSortedIterable<T>- Specified by:
selectin interfaceSortedSetIterable<T>- Overrides:
selectin classAbstractSynchronizedMutableCollection<T>
-
selectWith
- Specified by:
selectWithin interfaceMutableCollection<T>- Specified by:
selectWithin interfaceMutableSetIterable<T>- Specified by:
selectWithin interfaceMutableSortedSet<T>- Specified by:
selectWithin interfaceOrderedIterable<T>- Specified by:
selectWithin interfaceReversibleIterable<T>- Specified by:
selectWithin interfaceRichIterable<T>- Specified by:
selectWithin interfaceSetIterable<T>- Specified by:
selectWithin interfaceSortedIterable<T>- Specified by:
selectWithin interfaceSortedSetIterable<T>- Overrides:
selectWithin classAbstractSynchronizedMutableCollection<T>
-
reject
- Specified by:
rejectin interfaceMutableCollection<T>- Specified by:
rejectin interfaceMutableSetIterable<T>- Specified by:
rejectin interfaceMutableSortedSet<T>- Specified by:
rejectin interfaceOrderedIterable<T>- Specified by:
rejectin interfaceReversibleIterable<T>- Specified by:
rejectin interfaceRichIterable<T>- Specified by:
rejectin interfaceSetIterable<T>- Specified by:
rejectin interfaceSortedIterable<T>- Specified by:
rejectin interfaceSortedSetIterable<T>- Overrides:
rejectin classAbstractSynchronizedMutableCollection<T>
-
rejectWith
- Specified by:
rejectWithin interfaceMutableCollection<T>- Specified by:
rejectWithin interfaceMutableSetIterable<T>- Specified by:
rejectWithin interfaceMutableSortedSet<T>- Specified by:
rejectWithin interfaceOrderedIterable<T>- Specified by:
rejectWithin interfaceReversibleIterable<T>- Specified by:
rejectWithin interfaceRichIterable<T>- Specified by:
rejectWithin interfaceSetIterable<T>- Specified by:
rejectWithin interfaceSortedIterable<T>- Specified by:
rejectWithin interfaceSortedSetIterable<T>- Overrides:
rejectWithin classAbstractSynchronizedMutableCollection<T>
-
partition
- Specified by:
partitionin interfaceMutableCollection<T>- Specified by:
partitionin interfaceMutableSetIterable<T>- Specified by:
partitionin interfaceMutableSortedSet<T>- Specified by:
partitionin interfaceOrderedIterable<T>- Specified by:
partitionin interfaceReversibleIterable<T>- Specified by:
partitionin interfaceRichIterable<T>- Specified by:
partitionin interfaceSetIterable<T>- Specified by:
partitionin interfaceSortedIterable<T>- Specified by:
partitionin interfaceSortedSetIterable<T>- Overrides:
partitionin classAbstractSynchronizedMutableCollection<T>
-
partitionWith
public <P> PartitionMutableSortedSet<T> partitionWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceMutableCollection<T>- Specified by:
partitionWithin interfaceMutableSetIterable<T>- Specified by:
partitionWithin interfaceMutableSortedSet<T>- Specified by:
partitionWithin interfaceOrderedIterable<T>- Specified by:
partitionWithin interfaceReversibleIterable<T>- Specified by:
partitionWithin interfaceRichIterable<T>- Specified by:
partitionWithin interfaceSetIterable<T>- Specified by:
partitionWithin interfaceSortedSetIterable<T>- Overrides:
partitionWithin classAbstractSynchronizedMutableCollection<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceMutableCollection<T>- Specified by:
selectInstancesOfin interfaceMutableSetIterable<T>- Specified by:
selectInstancesOfin interfaceMutableSortedSet<T>- Specified by:
selectInstancesOfin interfaceOrderedIterable<T>- Specified by:
selectInstancesOfin interfaceReversibleIterable<T>- Specified by:
selectInstancesOfin interfaceRichIterable<T>- Specified by:
selectInstancesOfin interfaceSetIterable<T>- Specified by:
selectInstancesOfin interfaceSortedIterable<T>- Specified by:
selectInstancesOfin interfaceSortedSetIterable<T>- Overrides:
selectInstancesOfin classAbstractSynchronizedMutableCollection<T>
-
collect
- Specified by:
collectin interfaceMutableCollection<T>- Specified by:
collectin interfaceMutableSortedSet<T>- Specified by:
collectin interfaceOrderedIterable<T>- Specified by:
collectin interfaceReversibleIterable<T>- Specified by:
collectin interfaceRichIterable<T>- Specified by:
collectin interfaceSortedSetIterable<T>- Overrides:
collectin classAbstractSynchronizedMutableCollection<T>
-
collectWithIndex
public <V> MutableList<V> collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function) - Specified by:
collectWithIndexin interfaceMutableSortedSet<T>- Specified by:
collectWithIndexin interfaceOrderedIterable<T>- Specified by:
collectWithIndexin interfaceReversibleIterable<T>- Specified by:
collectWithIndexin interfaceSortedSetIterable<T>- Since:
- 9.1.
-
collectWithIndex
public <V,R extends Collection<V>> R collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function, R target) - Specified by:
collectWithIndexin interfaceOrderedIterable<T>- Since:
- 9.1.
-
selectWithIndex
public <R extends Collection<T>> R selectWithIndex(ObjectIntPredicate<? super T> predicate, R target) - Specified by:
selectWithIndexin interfaceOrderedIterable<T>- Since:
- 11.0.
-
rejectWithIndex
public <R extends Collection<T>> R rejectWithIndex(ObjectIntPredicate<? super T> predicate, R target) - Specified by:
rejectWithIndexin interfaceOrderedIterable<T>- Since:
- 11.0.
-
collectBoolean
- Specified by:
collectBooleanin interfaceMutableCollection<T>- Specified by:
collectBooleanin interfaceMutableSortedSet<T>- Specified by:
collectBooleanin interfaceOrderedIterable<T>- Specified by:
collectBooleanin interfaceReversibleIterable<T>- Specified by:
collectBooleanin interfaceRichIterable<T>- Specified by:
collectBooleanin interfaceSortedSetIterable<T>- Overrides:
collectBooleanin classAbstractSynchronizedMutableCollection<T>
-
collectByte
- Specified by:
collectBytein interfaceMutableCollection<T>- Specified by:
collectBytein interfaceMutableSortedSet<T>- Specified by:
collectBytein interfaceOrderedIterable<T>- Specified by:
collectBytein interfaceReversibleIterable<T>- Specified by:
collectBytein interfaceRichIterable<T>- Specified by:
collectBytein interfaceSortedSetIterable<T>- Overrides:
collectBytein classAbstractSynchronizedMutableCollection<T>
-
collectChar
- Specified by:
collectCharin interfaceMutableCollection<T>- Specified by:
collectCharin interfaceMutableSortedSet<T>- Specified by:
collectCharin interfaceOrderedIterable<T>- Specified by:
collectCharin interfaceReversibleIterable<T>- Specified by:
collectCharin interfaceRichIterable<T>- Specified by:
collectCharin interfaceSortedSetIterable<T>- Overrides:
collectCharin classAbstractSynchronizedMutableCollection<T>
-
collectDouble
- Specified by:
collectDoublein interfaceMutableCollection<T>- Specified by:
collectDoublein interfaceMutableSortedSet<T>- Specified by:
collectDoublein interfaceOrderedIterable<T>- Specified by:
collectDoublein interfaceReversibleIterable<T>- Specified by:
collectDoublein interfaceRichIterable<T>- Specified by:
collectDoublein interfaceSortedSetIterable<T>- Overrides:
collectDoublein classAbstractSynchronizedMutableCollection<T>
-
collectFloat
- Specified by:
collectFloatin interfaceMutableCollection<T>- Specified by:
collectFloatin interfaceMutableSortedSet<T>- Specified by:
collectFloatin interfaceOrderedIterable<T>- Specified by:
collectFloatin interfaceReversibleIterable<T>- Specified by:
collectFloatin interfaceRichIterable<T>- Specified by:
collectFloatin interfaceSortedSetIterable<T>- Overrides:
collectFloatin classAbstractSynchronizedMutableCollection<T>
-
collectInt
- Specified by:
collectIntin interfaceMutableCollection<T>- Specified by:
collectIntin interfaceMutableSortedSet<T>- Specified by:
collectIntin interfaceOrderedIterable<T>- Specified by:
collectIntin interfaceReversibleIterable<T>- Specified by:
collectIntin interfaceRichIterable<T>- Specified by:
collectIntin interfaceSortedSetIterable<T>- Overrides:
collectIntin classAbstractSynchronizedMutableCollection<T>
-
collectLong
- Specified by:
collectLongin interfaceMutableCollection<T>- Specified by:
collectLongin interfaceMutableSortedSet<T>- Specified by:
collectLongin interfaceOrderedIterable<T>- Specified by:
collectLongin interfaceReversibleIterable<T>- Specified by:
collectLongin interfaceRichIterable<T>- Specified by:
collectLongin interfaceSortedSetIterable<T>- Overrides:
collectLongin classAbstractSynchronizedMutableCollection<T>
-
collectShort
- Specified by:
collectShortin interfaceMutableCollection<T>- Specified by:
collectShortin interfaceMutableSortedSet<T>- Specified by:
collectShortin interfaceOrderedIterable<T>- Specified by:
collectShortin interfaceReversibleIterable<T>- Specified by:
collectShortin interfaceRichIterable<T>- Specified by:
collectShortin interfaceSortedSetIterable<T>- Overrides:
collectShortin classAbstractSynchronizedMutableCollection<T>
-
collectWith
public <P,V> MutableList<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) - Specified by:
collectWithin interfaceMutableCollection<T>- Specified by:
collectWithin interfaceMutableSortedSet<T>- Specified by:
collectWithin interfaceOrderedIterable<T>- Specified by:
collectWithin interfaceReversibleIterable<T>- Specified by:
collectWithin interfaceRichIterable<T>- Specified by:
collectWithin interfaceSortedSetIterable<T>- Overrides:
collectWithin classAbstractSynchronizedMutableCollection<T>
-
collectIf
public <V> MutableList<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) - Specified by:
collectIfin interfaceMutableCollection<T>- Specified by:
collectIfin interfaceMutableSortedSet<T>- Specified by:
collectIfin interfaceOrderedIterable<T>- Specified by:
collectIfin interfaceReversibleIterable<T>- Specified by:
collectIfin interfaceRichIterable<T>- Specified by:
collectIfin interfaceSortedSetIterable<T>- Overrides:
collectIfin classAbstractSynchronizedMutableCollection<T>
-
flatCollect
- Specified by:
flatCollectin interfaceMutableCollection<T>- Specified by:
flatCollectin interfaceMutableSortedSet<T>- Specified by:
flatCollectin interfaceOrderedIterable<T>- Specified by:
flatCollectin interfaceReversibleIterable<T>- Specified by:
flatCollectin interfaceRichIterable<T>- Specified by:
flatCollectin interfaceSortedSetIterable<T>- Overrides:
flatCollectin classAbstractSynchronizedMutableCollection<T>
-
groupBy
- Specified by:
groupByin interfaceMutableCollection<T>- Specified by:
groupByin interfaceMutableSetIterable<T>- Specified by:
groupByin interfaceMutableSortedSet<T>- Specified by:
groupByin interfaceOrderedIterable<T>- Specified by:
groupByin interfaceReversibleIterable<T>- Specified by:
groupByin interfaceRichIterable<T>- Specified by:
groupByin interfaceSortedIterable<T>- Specified by:
groupByin interfaceSortedSetIterable<T>- Overrides:
groupByin classAbstractSynchronizedMutableCollection<T>
-
groupByEach
public <V> MutableSortedSetMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) - Specified by:
groupByEachin interfaceMutableCollection<T>- Specified by:
groupByEachin interfaceMutableSetIterable<T>- Specified by:
groupByEachin interfaceMutableSortedSet<T>- Specified by:
groupByEachin interfaceOrderedIterable<T>- Specified by:
groupByEachin interfaceReversibleIterable<T>- Specified by:
groupByEachin interfaceRichIterable<T>- Specified by:
groupByEachin interfaceSortedIterable<T>- Specified by:
groupByEachin interfaceSortedSetIterable<T>- Overrides:
groupByEachin classAbstractSynchronizedMutableCollection<T>
-
zip
- Specified by:
zipin interfaceMutableCollection<T>- Specified by:
zipin interfaceMutableSetIterable<T>- Specified by:
zipin interfaceMutableSortedSet<T>- Specified by:
zipin interfaceOrderedIterable<T>- Specified by:
zipin interfaceReversibleIterable<T>- Specified by:
zipin interfaceRichIterable<T>- Specified by:
zipin interfaceSortedIterable<T>- Overrides:
zipin classAbstractSynchronizedMutableCollection<T>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceMutableCollection<T>- Specified by:
zipWithIndexin interfaceMutableSetIterable<T>- Specified by:
zipWithIndexin interfaceMutableSortedSet<T>- Specified by:
zipWithIndexin interfaceOrderedIterable<T>- Specified by:
zipWithIndexin interfaceReversibleIterable<T>- Specified by:
zipWithIndexin interfaceRichIterable<T>- Specified by:
zipWithIndexin interfaceSetIterable<T>- Specified by:
zipWithIndexin interfaceSortedIterable<T>- Specified by:
zipWithIndexin interfaceSortedSetIterable<T>- Overrides:
zipWithIndexin classAbstractSynchronizedMutableCollection<T>
-
unionInto
- Specified by:
unionIntoin interfaceSetIterable<T>
-
intersectInto
- Specified by:
intersectIntoin interfaceSetIterable<T>
-
differenceInto
- Specified by:
differenceIntoin interfaceSetIterable<T>
-
symmetricDifferenceInto
- Specified by:
symmetricDifferenceIntoin interfaceSetIterable<T>
-
isSubsetOf
- Specified by:
isSubsetOfin interfaceSetIterable<T>
-
isProperSubsetOf
- Specified by:
isProperSubsetOfin interfaceSetIterable<T>
-
cartesianProduct
- Specified by:
cartesianProductin interfaceSetIterable<T>
-
union
- Specified by:
unionin interfaceMutableSortedSet<T>- Specified by:
unionin interfaceSetIterable<T>- Specified by:
unionin interfaceSortedSetIterable<T>
-
intersect
- Specified by:
intersectin interfaceMutableSortedSet<T>- Specified by:
intersectin interfaceSetIterable<T>- Specified by:
intersectin interfaceSortedSetIterable<T>
-
difference
- Specified by:
differencein interfaceMutableSortedSet<T>- Specified by:
differencein interfaceSetIterable<T>- Specified by:
differencein interfaceSortedSetIterable<T>
-
symmetricDifference
- Specified by:
symmetricDifferencein interfaceMutableSortedSet<T>- Specified by:
symmetricDifferencein interfaceSetIterable<T>- Specified by:
symmetricDifferencein interfaceSortedSetIterable<T>
-
powerSet
- Specified by:
powerSetin interfaceMutableSortedSet<T>- Specified by:
powerSetin interfaceSortedSetIterable<T>
-
asParallel
- Specified by:
asParallelin interfaceSetIterable<T>- Specified by:
asParallelin interfaceSortedSetIterable<T>
-
toImmutable
- Specified by:
toImmutablein interfaceMutableCollection<T>- Specified by:
toImmutablein interfaceMutableSortedSet<T>- Specified by:
toImmutablein interfaceSetIterable<T>- Specified by:
toImmutablein interfaceSortedSetIterable<T>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableCollection<T>- Specified by:
asUnmodifiablein interfaceMutableSortedSet<T>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableCollection<T>- Specified by:
asSynchronizedin interfaceMutableSortedSet<T>
-
subSet
-
headSet
-
tailSet
-
reverseForEach
- Specified by:
reverseForEachin interfaceReversibleIterable<T>
-
reverseForEachWithIndex
- Specified by:
reverseForEachWithIndexin interfaceReversibleIterable<T>
-
toReversed
- Specified by:
toReversedin interfaceMutableSortedSet<T>- Specified by:
toReversedin interfaceReversibleIterable<T>- Specified by:
toReversedin interfaceSortedSetIterable<T>
-
detectLastIndex
- Specified by:
detectLastIndexin interfaceReversibleIterable<T>
-
take
- Specified by:
takein interfaceMutableSortedSet<T>- Specified by:
takein interfaceReversibleIterable<T>- Specified by:
takein interfaceSortedSetIterable<T>
-
drop
- Specified by:
dropin interfaceMutableSortedSet<T>- Specified by:
dropin interfaceReversibleIterable<T>- Specified by:
dropin interfaceSortedSetIterable<T>
-