public interface ParallelBag<T> extends ParallelIterable<T>
Modifier and Type | Method and Description |
---|---|
void |
forEachWithOccurrences(ObjectIntProcedure<? super T> procedure) |
<V> BagMultimap<V,T> |
groupBy(Function<? super T,? extends V> function) |
<V> BagMultimap<V,T> |
groupByEach(Function<? super T,? extends Iterable<V>> function) |
ParallelBag<T> |
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
<P> ParallelBag<T> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ParallelBag<T> |
select(Predicate<? super T> predicate)
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) |
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, 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
void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
ParallelBag<T> select(Predicate<? super T> predicate)
select
in interface ParallelIterable<T>
<P> ParallelBag<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith
in interface ParallelIterable<T>
ParallelBag<T> reject(Predicate<? super T> predicate)
reject
in interface ParallelIterable<T>
<P> ParallelBag<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith
in interface ParallelIterable<T>
<S> ParallelBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf
in interface ParallelIterable<T>
<V> BagMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy
in interface ParallelIterable<T>
<V> BagMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach
in interface ParallelIterable<T>
Copyright © 2004–2016. All rights reserved.