Class ParallelSelectIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl<T,Batch<T>>
org.eclipse.collections.impl.lazy.parallel.ParallelSelectIterable<T>
- All Implemented Interfaces:
ParallelIterable<T>
public class ParallelSelectIterable<T> extends AbstractParallelIterableImpl<T,Batch<T>>
-
Constructor Summary
Constructors Constructor Description ParallelSelectIterable(AbstractParallelIterable<T,? extends Batch<T>> parallelIterable, Predicate<? super T> predicate)
-
Method Summary
Modifier and Type Method Description boolean
allSatisfy(Predicate<? super T> predicate)
boolean
anySatisfy(Predicate<? super T> predicate)
T
detect(Predicate<? super T> predicate)
void
forEach(Procedure<? super T> procedure)
int
getBatchSize()
ExecutorService
getExecutorService()
LazyIterable<Batch<T>>
split()
Object[]
toArray()
<E> E[]
toArray(E[] array)
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl
asUnique, collect, collectIf, collectWith, flatCollect, groupBy, groupByEach, 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, groupByUniqueKey, 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, toSortedList
-
Constructor Details
-
Method Details
-
getExecutorService
- Specified by:
getExecutorService
in classAbstractParallelIterable<T,Batch<T>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSize
in classAbstractParallelIterable<T,Batch<T>>
-
split
- Specified by:
split
in classAbstractParallelIterable<T,Batch<T>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
-
toArray
public <E> E[] toArray(E[] array)- Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelIterable<T,Batch<T>>
-