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>
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) Creates 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 org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, 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, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.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, toSortedSetBy
Methods inherited from interface org.eclipse.collections.api.set.sorted.ParallelSortedSetIterable
comparator
-
Constructor Details
-
AbstractParallelSortedSetIterable
public AbstractParallelSortedSetIterable()
-
-
Method Details
-
asUnique
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelSetIterable<T>
- Specified by:
asUnique
in interfaceParallelSortedSetIterable<T>
-
select
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelSetIterable<T>
- Specified by:
select
in interfaceParallelSortedSetIterable<T>
-
selectWith
public <P> ParallelSortedSetIterable<T> selectWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelSetIterable<T>
- Specified by:
selectWith
in interfaceParallelSortedSetIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSetIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSortedSetIterable<T>
-
reject
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelSetIterable<T>
- Specified by:
reject
in interfaceParallelSortedSetIterable<T>
-
rejectWith
public <P> ParallelSortedSetIterable<T> rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) - Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelSetIterable<T>
- Specified by:
rejectWith
in interfaceParallelSortedSetIterable<T>
-
collect
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collect
in interfaceParallelIterable<T>
- Specified by:
collect
in interfaceParallelSortedSetIterable<T>
-
collectWith
public <P,V> ParallelListIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) - Specified by:
collectWith
in interfaceParallelIterable<T>
- Specified by:
collectWith
in interfaceParallelSortedSetIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIf
in interfaceParallelIterable<T>
- Specified by:
collectIf
in interfaceParallelSortedSetIterable<T>
-
flatCollect
Description copied from interface:ParallelSortedSetIterable
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollect
in interfaceParallelIterable<T>
- Specified by:
flatCollect
in interfaceParallelSortedSetIterable<T>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
- Specified by:
groupBy
in interfaceParallelSortedSetIterable<T>
-
groupByEach
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelSetIterable<T>
- Specified by:
groupByEach
in interfaceParallelSortedSetIterable<T>
-
groupByUniqueKey
- Specified by:
groupByUniqueKey
in interfaceParallelIterable<T>
- Overrides:
groupByUniqueKey
in classAbstractParallelIterable<T,
B extends SortedSetBatch<T>>
-
toArray
- Specified by:
toArray
in interfaceParallelIterable<T>
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelIterable<T,
B extends SortedSetBatch<T>>
-