Package org.eclipse.collections.api.bag
Interface ParallelBag<T>
- All Superinterfaces:
ParallelIterable<T>
- All Known Subinterfaces:
ParallelSortedBag<T>,ParallelUnsortedBag<T>
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEachWithOccurrences(ObjectIntProcedure<? super T> procedure) <V> BagMultimap<V,T> <V> BagMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelBag<T>rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelBag<S>selectInstancesOf(Class<S> clazz) <P> ParallelBag<T>selectWith(Predicate2<? super T, ? super P> predicate, P parameter) Methods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asUnique, collect, collectIf, collectWith, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, flatCollect, forEach, forEachWith, groupByUniqueKey, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy
-
Method Details
-
forEachWithOccurrences
-
select
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
selectin interfaceParallelIterable<T>
-
selectWith
- Specified by:
selectWithin interfaceParallelIterable<T>
-
reject
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
rejectin interfaceParallelIterable<T>
-
rejectWith
- Specified by:
rejectWithin interfaceParallelIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceParallelIterable<T>
-
groupBy
- Specified by:
groupByin interfaceParallelIterable<T>
-
groupByEach
- Specified by:
groupByEachin interfaceParallelIterable<T>
-