Package org.eclipse.collections.api.bag
Interface ParallelUnsortedBag<T>
- All Superinterfaces:
ParallelBag<T>,ParallelIterable<T>
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionasUnique()<V> ParallelUnsortedBag<V>Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelUnsortedBag<V>Creates a parallel iterable for selecting and collecting elements from the current iterable.<P,V> ParallelUnsortedBag<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) <V> ParallelUnsortedBag<V>flatCollect(Function<? super T, ? extends Iterable<V>> function) Creates a parallel flattening iterable for the current iterable.<V> UnsortedBagMultimap<V,T> <V> UnsortedBagMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelUnsortedBag<T>rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelUnsortedBag<S>selectInstancesOf(Class<S> clazz) <P> ParallelUnsortedBag<T>selectWith(Predicate2<? super T, ? super P> predicate, P parameter) Methods inherited from interface org.eclipse.collections.api.bag.ParallelBag
forEachWithOccurrencesMethods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, 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
-
asUnique
ParallelUnsortedSetIterable<T> asUnique()- Specified by:
asUniquein interfaceParallelIterable<T>
-
select
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
selectin interfaceParallelBag<T>- Specified by:
selectin interfaceParallelIterable<T>
-
selectWith
- Specified by:
selectWithin interfaceParallelBag<T>- Specified by:
selectWithin interfaceParallelIterable<T>
-
reject
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
rejectin interfaceParallelBag<T>- Specified by:
rejectin interfaceParallelIterable<T>
-
rejectWith
- Specified by:
rejectWithin interfaceParallelBag<T>- Specified by:
rejectWithin interfaceParallelIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceParallelBag<T>- Specified by:
selectInstancesOfin interfaceParallelIterable<T>
-
collect
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collectin interfaceParallelIterable<T>
-
collectWith
<P,V> ParallelUnsortedBag<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) - Specified by:
collectWithin interfaceParallelIterable<T>
-
collectIf
<V> ParallelUnsortedBag<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIfin interfaceParallelIterable<T>
-
flatCollect
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollectin interfaceParallelIterable<T>
-
groupBy
- Specified by:
groupByin interfaceParallelBag<T>- Specified by:
groupByin interfaceParallelIterable<T>
-
groupByEach
- Specified by:
groupByEachin interfaceParallelBag<T>- Specified by:
groupByEachin interfaceParallelIterable<T>
-