Class ListIterableParallelIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
org.eclipse.collections.impl.lazy.parallel.list.AbstractParallelListIterable<T,RootListBatch<T>>
org.eclipse.collections.impl.lazy.parallel.list.ListIterableParallelIterable<T>
- All Implemented Interfaces:
ParallelListIterable<T>,ParallelIterable<T>
public final class ListIterableParallelIterable<T>
extends AbstractParallelListIterable<T,RootListBatch<T>>
-
Constructor Summary
ConstructorsConstructorDescriptionListIterableParallelIterable(ListIterable<T> delegate, ExecutorService executorService, int batchSize) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(Predicate<? super T> predicate) booleananySatisfy(Predicate<? super T> predicate) voidint<V> ListMultimap<V,T> <V> ListMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) <V> MapIterable<V,T> groupByUniqueKey(Function<? super T, ? extends V> function) split()Object[]toArray()<E> E[]toArray(E[] array) Methods inherited from class org.eclipse.collections.impl.lazy.parallel.list.AbstractParallelListIterable
asUnique, collect, collectIf, collectWith, flatCollect, reject, rejectWith, select, selectInstancesOf, selectWithMethods 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, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, 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
-
Constructor Details
-
ListIterableParallelIterable
public ListIterableParallelIterable(ListIterable<T> delegate, ExecutorService executorService, int batchSize)
-
-
Method Details
-
getExecutorService
- Specified by:
getExecutorServicein classAbstractParallelIterable<T,RootListBatch<T>>
-
split
- Specified by:
splitin classAbstractParallelIterable<T,RootListBatch<T>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
- Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelListIterable<T,RootListBatch<T>>
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelListIterable<T,RootListBatch<T>>
-
groupBy
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelListIterable<T>- Overrides:
groupByin classAbstractParallelListIterable<T,RootListBatch<T>>
-
groupByEach
- Specified by:
groupByEachin interfaceParallelIterable<T>- Specified by:
groupByEachin interfaceParallelListIterable<T>- Overrides:
groupByEachin classAbstractParallelListIterable<T,RootListBatch<T>>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceParallelIterable<T>- Overrides:
groupByUniqueKeyin classAbstractParallelListIterable<T,RootListBatch<T>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein classAbstractParallelIterable<T,RootListBatch<T>>
-