Class ParallelCollectIterable<T,V>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
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>
-
Constructor Summary
ConstructorDescriptionParallelCollectIterable
(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, reject, rejectWith, select, selectInstancesOf, selectWith
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
appendString, appendString, makeString, makeString, makeString, makeString, toSortedList
-
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>>
-