Interface ParallelSortedBag<T>
-
- All Superinterfaces:
ParallelBag<T>
,ParallelIterable<T>
public interface ParallelSortedBag<T> extends ParallelBag<T>
- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> ParallelListIterable<V>
collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelListIterable<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.<P,V>
ParallelListIterable<V>collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V> ParallelListIterable<V>
flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> SortedBagMultimap<V,T>
groupBy(Function<? super T,? extends V> function)
<V> SortedBagMultimap<V,T>
groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
ParallelSortedBag<T>
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelSortedBag<T>
rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ParallelSortedBag<T>
select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelSortedBag<S>
selectInstancesOf(java.lang.Class<S> clazz)
<P> ParallelSortedBag<T>
selectWith(Predicate2<? super T,? super P> predicate, P parameter)
-
Methods inherited from interface org.eclipse.collections.api.bag.ParallelBag
forEachWithOccurrences
-
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asUnique, 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 Detail
-
select
ParallelSortedBag<T> select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelBag<T>
- Specified by:
select
in interfaceParallelIterable<T>
-
selectWith
<P> ParallelSortedBag<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWith
in interfaceParallelBag<T>
- Specified by:
selectWith
in interfaceParallelIterable<T>
-
reject
ParallelSortedBag<T> reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelBag<T>
- Specified by:
reject
in interfaceParallelIterable<T>
-
rejectWith
<P> ParallelSortedBag<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWith
in interfaceParallelBag<T>
- Specified by:
rejectWith
in interfaceParallelIterable<T>
-
selectInstancesOf
<S> ParallelSortedBag<S> selectInstancesOf(java.lang.Class<S> clazz)
- Specified by:
selectInstancesOf
in interfaceParallelBag<T>
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
-
collect
<V> ParallelListIterable<V> collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collect
in interfaceParallelIterable<T>
-
collectWith
<P,V> ParallelListIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
- Specified by:
collectWith
in interfaceParallelIterable<T>
-
collectIf
<V> ParallelListIterable<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:
collectIf
in interfaceParallelIterable<T>
-
flatCollect
<V> ParallelListIterable<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollect
in interfaceParallelIterable<T>
-
groupBy
<V> SortedBagMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupBy
in interfaceParallelBag<T>
- Specified by:
groupBy
in interfaceParallelIterable<T>
-
groupByEach
<V> SortedBagMultimap<V,T> groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
groupByEach
in interfaceParallelBag<T>
- Specified by:
groupByEach
in interfaceParallelIterable<T>
-
-