Class ParallelCollectUnsortedBag<T,V>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<V, UnsortedBagBatch<V>>
org.eclipse.collections.impl.lazy.parallel.bag.AbstractParallelUnsortedBag<V, UnsortedBagBatch<V>>
org.eclipse.collections.impl.lazy.parallel.bag.ParallelCollectUnsortedBag<T,V>
- All Implemented Interfaces:
ParallelBag<V>, ParallelUnsortedBag<V>, ParallelIterable<V>
public class ParallelCollectUnsortedBag<T,V>
extends AbstractParallelUnsortedBag<V, UnsortedBagBatch<V>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractParallelUnsortedBag<T, ? extends UnsortedBagBatch<T>> -
Constructor Summary
ConstructorsConstructorDescriptionParallelCollectUnsortedBag(AbstractParallelUnsortedBag<T, ? extends UnsortedBagBatch<T>> parallelIterable, Function<? super T, ? extends V> function) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(Predicate<? super V> predicate) booleananySatisfy(Predicate<? super V> predicate) voidvoidforEachWithOccurrences(ObjectIntProcedure<? super V> procedure) intsplit()Methods inherited from class AbstractParallelUnsortedBag
asUnique, collect, collectIf, collectWith, flatCollect, groupBy, groupByEach, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWith, toBagMethods inherited from class 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, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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 Details
-
parallelIterable
-
function
-
-
Constructor Details
-
ParallelCollectUnsortedBag
public ParallelCollectUnsortedBag(AbstractParallelUnsortedBag<T, ? extends UnsortedBagBatch<T>> parallelIterable, Function<? super T, ? extends V> function)
-
-
Method Details
-
getExecutorService
- Specified by:
getExecutorServicein classAbstractParallelIterable<V, UnsortedBagBatch<V>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein classAbstractParallelIterable<V, UnsortedBagBatch<V>>
-
split
- Specified by:
splitin classAbstractParallelIterable<V, UnsortedBagBatch<V>>
-
forEach
-
forEachWithOccurrences
-
anySatisfy
-
allSatisfy
-
detect
-