Class AbstractParallelSortedSetIterable<T, B extends SortedSetBatch<T>>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
org.eclipse.collections.impl.lazy.parallel.set.sorted.AbstractParallelSortedSetIterable<T,B>
- All Implemented Interfaces:
ParallelIterable<T>, ParallelSetIterable<T>, ParallelSortedSetIterable<T>
- Direct Known Subclasses:
ImmutableTreeSet.SortedSetIterableParallelIterable, ParallelSelectSortedSetIterable
public abstract class AbstractParallelSortedSetIterable<T, B extends SortedSetBatch<T>>
extends AbstractParallelIterable<T,B>
implements ParallelSortedSetIterable<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasUnique()<V> ParallelListIterable<V> Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelListIterable<V> Creates a parallel iterable for selecting and collecting elements from the current iterable.<P,V> ParallelListIterable <V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> ParallelListIterable<V> flatCollect(Function<? super T, ? extends Iterable<V>> function) Creates a parallel flattening iterable for the current iterable.<V> SortedSetMultimap<V, T> <V> SortedSetMultimap<V, T> groupByEach(Function<? super T, ? extends Iterable<V>> function) <V> MapIterable<V, T> groupByUniqueKey(Function<? super T, ? extends V> function) protected booleanCreates a parallel iterable for rejecting elements from the current iterable.rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelSortedSetIterable<S> selectInstancesOf(Class<S> clazz) selectWith(Predicate2<? super T, ? super P> predicate, P parameter) Object[]toArray()<E> E[]toArray(E[] array) Methods inherited from class AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, collectCombine, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, getBatchSize, getExecutorService, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, split, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetByMethods inherited from interface ParallelSortedSetIterable
comparator
-
Constructor Details
-
AbstractParallelSortedSetIterable
public AbstractParallelSortedSetIterable()
-
-
Method Details
-
isOrdered
protected boolean isOrdered()- Specified by:
isOrderedin classAbstractParallelIterable<T, B extends SortedSetBatch<T>>
-
asUnique
- Specified by:
asUniquein interfaceParallelIterable<T>- Specified by:
asUniquein interfaceParallelSetIterable<T>- Specified by:
asUniquein interfaceParallelSortedSetIterable<T>
-
select
Description copied from interface:ParallelIterableCreates a parallel iterable for selecting elements from the current iterable.- Specified by:
selectin interfaceParallelIterable<T>- Specified by:
selectin interfaceParallelSetIterable<T>- Specified by:
selectin interfaceParallelSortedSetIterable<T>
-
selectWith
public <P> ParallelSortedSetIterable<T> selectWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
selectWithin interfaceParallelIterable<T>- Specified by:
selectWithin interfaceParallelSetIterable<T>- Specified by:
selectWithin interfaceParallelSortedSetIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceParallelIterable<T>- Specified by:
selectInstancesOfin interfaceParallelSetIterable<T>- Specified by:
selectInstancesOfin interfaceParallelSortedSetIterable<T>
-
reject
Description copied from interface:ParallelIterableCreates a parallel iterable for rejecting elements from the current iterable.- Specified by:
rejectin interfaceParallelIterable<T>- Specified by:
rejectin interfaceParallelSetIterable<T>- Specified by:
rejectin interfaceParallelSortedSetIterable<T>
-
rejectWith
public <P> ParallelSortedSetIterable<T> rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
rejectWithin interfaceParallelIterable<T>- Specified by:
rejectWithin interfaceParallelSetIterable<T>- Specified by:
rejectWithin interfaceParallelSortedSetIterable<T>
-
collect
Description copied from interface:ParallelIterableCreates a parallel iterable for collecting elements from the current iterable.- Specified by:
collectin interfaceParallelIterable<T>- Specified by:
collectin interfaceParallelSortedSetIterable<T>
-
collectWith
public <P,V> ParallelListIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) - Specified by:
collectWithin interfaceParallelIterable<T>- Specified by:
collectWithin interfaceParallelSortedSetIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Description copied from interface:ParallelIterableCreates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIfin interfaceParallelIterable<T>- Specified by:
collectIfin interfaceParallelSortedSetIterable<T>
-
flatCollect
Description copied from interface:ParallelIterableCreates a parallel flattening iterable for the current iterable.- Specified by:
flatCollectin interfaceParallelIterable<T>- Specified by:
flatCollectin interfaceParallelSortedSetIterable<T>
-
groupBy
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelSetIterable<T>- Specified by:
groupByin interfaceParallelSortedSetIterable<T>
-
groupByEach
- Specified by:
groupByEachin interfaceParallelIterable<T>- Specified by:
groupByEachin interfaceParallelSetIterable<T>- Specified by:
groupByEachin interfaceParallelSortedSetIterable<T>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceParallelIterable<T>- Overrides:
groupByUniqueKeyin classAbstractParallelIterable<T, B extends SortedSetBatch<T>>
-
toArray
- Specified by:
toArrayin interfaceParallelIterable<T>
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelIterable<T, B extends SortedSetBatch<T>>
-