Class ParallelSelectUnsortedBag<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
-
- org.eclipse.collections.impl.lazy.parallel.bag.AbstractParallelUnsortedBag<T,UnsortedBagBatch<T>>
-
- org.eclipse.collections.impl.lazy.parallel.bag.ParallelSelectUnsortedBag<T>
-
- All Implemented Interfaces:
ParallelBag<T>,ParallelUnsortedBag<T>,ParallelIterable<T>
class ParallelSelectUnsortedBag<T> extends AbstractParallelUnsortedBag<T,UnsortedBagBatch<T>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classParallelSelectUnsortedBag.SelectAllSatisfyPredicate<T>
-
Field Summary
Fields Modifier and Type Field Description private AbstractParallelUnsortedBag<T,? extends UnsortedBagBatch<T>>parallelIterableprivate Predicate<? super T>predicate
-
Constructor Summary
Constructors Constructor Description ParallelSelectUnsortedBag(AbstractParallelUnsortedBag<T,? extends UnsortedBagBatch<T>> parallelIterable, Predicate<? super T> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Predicate<? super T> predicate)booleananySatisfy(Predicate<? super T> predicate)Tdetect(Predicate<? super T> predicate)voidforEach(Procedure<? super T> procedure)voidforEachWithOccurrences(ObjectIntProcedure<? super T> procedure)intgetBatchSize()java.util.concurrent.ExecutorServicegetExecutorService()LazyIterable<UnsortedBagBatch<T>>split()-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.bag.AbstractParallelUnsortedBag
asUnique, collect, collectIf, collectWith, flatCollect, groupBy, groupByEach, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWith, toBag
-
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, groupByUniqueKey, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, 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
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, forEachWith, groupByUniqueKey, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy
-
-
-
-
Field Detail
-
parallelIterable
private final AbstractParallelUnsortedBag<T,? extends UnsortedBagBatch<T>> parallelIterable
-
-
Constructor Detail
-
ParallelSelectUnsortedBag
ParallelSelectUnsortedBag(AbstractParallelUnsortedBag<T,? extends UnsortedBagBatch<T>> parallelIterable, Predicate<? super T> predicate)
-
-
Method Detail
-
getExecutorService
public java.util.concurrent.ExecutorService getExecutorService()
- Specified by:
getExecutorServicein classAbstractParallelIterable<T,UnsortedBagBatch<T>>
-
getBatchSize
public int getBatchSize()
- Specified by:
getBatchSizein classAbstractParallelIterable<T,UnsortedBagBatch<T>>
-
forEachWithOccurrences
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
-
split
public LazyIterable<UnsortedBagBatch<T>> split()
- Specified by:
splitin classAbstractParallelIterable<T,UnsortedBagBatch<T>>
-
-