Class ParallelCollectIterable<T,V>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<V,Batch<V>>
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl<V,Batch<V>>
org.eclipse.collections.impl.lazy.parallel.set.ParallelCollectIterable<T,V>
- All Implemented Interfaces:
ParallelIterable<V>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParallelCollectIterable
(AbstractParallelIterable<T, ? extends Batch<T>> delegate, Function<? super T, ? extends V> function) -
Method Summary
Modifier and TypeMethodDescriptionboolean
allSatisfy
(Predicate<? super V> predicate) boolean
anySatisfy
(Predicate<? super V> predicate) void
int
<V1> UnsortedBagMultimap
<V1, V> <V1> UnsortedBagMultimap
<V1, V> groupByEach
(Function<? super V, ? extends Iterable<V1>> function) <V1> MapIterable
<V1, V> groupByUniqueKey
(Function<? super V, ? extends V1> function) split()
Object[]
toArray()
<E> E[]
toArray
(E[] array) Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl
asUnique, collect, collectIf, collectWith, flatCollect, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWith
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, collectCombine, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
appendString, appendString, makeString, makeString, makeString, makeString, toSortedList
-
Field Details
-
delegate
-
function
-
-
Constructor Details
-
ParallelCollectIterable
-
-
Method Details
-
getExecutorService
- Specified by:
getExecutorService
in classAbstractParallelIterable<V,
Batch<V>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSize
in classAbstractParallelIterable<V,
Batch<V>>
-
split
- Specified by:
split
in classAbstractParallelIterable<V,
Batch<V>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelIterable<V,
Batch<V>>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Overrides:
groupBy
in classAbstractParallelIterableImpl<V,
Batch<V>>
-
groupByEach
public <V1> UnsortedBagMultimap<V1,V> groupByEach(Function<? super V, ? extends Iterable<V1>> function) - Specified by:
groupByEach
in interfaceParallelIterable<T>
- Overrides:
groupByEach
in classAbstractParallelIterableImpl<V,
Batch<V>>
-
groupByUniqueKey
- Specified by:
groupByUniqueKey
in interfaceParallelIterable<T>
- Overrides:
groupByUniqueKey
in classAbstractParallelIterable<V,
Batch<V>>
-