public class NonParallelUnsortedBag<T> extends NonParallelIterable<T,UnsortedBag<T>> implements ParallelUnsortedBag<T>
Constructor and Description |
---|
NonParallelUnsortedBag(UnsortedBag<T> delegate) |
Modifier and Type | Method and Description |
---|---|
ParallelUnsortedSetIterable<T> |
asUnique() |
<V> ParallelUnsortedBag<V> |
collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.
|
<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.
|
<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.
|
void |
forEachWithOccurrences(ObjectIntProcedure<? super T> procedure) |
<V> UnsortedBagMultimap<V,T> |
groupBy(Function<? super T,? extends V> function) |
<V> UnsortedBagMultimap<V,T> |
groupByEach(Function<? super T,? extends Iterable<V>> function) |
ParallelUnsortedBag<T> |
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
<P> ParallelUnsortedBag<T> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ParallelUnsortedBag<T> |
select(Predicate<? super T> predicate)
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) |
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, 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, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, 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
public NonParallelUnsortedBag(UnsortedBag<T> delegate)
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences
in interface ParallelBag<T>
public ParallelUnsortedSetIterable<T> asUnique()
asUnique
in interface ParallelUnsortedBag<T>
asUnique
in interface ParallelIterable<T>
public ParallelUnsortedBag<T> select(Predicate<? super T> predicate)
ParallelUnsortedBag
select
in interface ParallelBag<T>
select
in interface ParallelUnsortedBag<T>
select
in interface ParallelIterable<T>
public <P> ParallelUnsortedBag<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith
in interface ParallelBag<T>
selectWith
in interface ParallelUnsortedBag<T>
selectWith
in interface ParallelIterable<T>
public ParallelUnsortedBag<T> reject(Predicate<? super T> predicate)
ParallelUnsortedBag
reject
in interface ParallelBag<T>
reject
in interface ParallelUnsortedBag<T>
reject
in interface ParallelIterable<T>
public <P> ParallelUnsortedBag<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith
in interface ParallelBag<T>
rejectWith
in interface ParallelUnsortedBag<T>
rejectWith
in interface ParallelIterable<T>
public <S> ParallelUnsortedBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf
in interface ParallelBag<T>
selectInstancesOf
in interface ParallelUnsortedBag<T>
selectInstancesOf
in interface ParallelIterable<T>
public <V> ParallelUnsortedBag<V> collect(Function<? super T,? extends V> function)
ParallelUnsortedBag
collect
in interface ParallelUnsortedBag<T>
collect
in interface ParallelIterable<T>
public <P,V> ParallelUnsortedBag<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
collectWith
in interface ParallelUnsortedBag<T>
collectWith
in interface ParallelIterable<T>
public <V> ParallelUnsortedBag<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
ParallelUnsortedBag
collectIf
in interface ParallelUnsortedBag<T>
collectIf
in interface ParallelIterable<T>
public <V> ParallelUnsortedBag<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
ParallelUnsortedBag
flatCollect
in interface ParallelUnsortedBag<T>
flatCollect
in interface ParallelIterable<T>
public <V> UnsortedBagMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy
in interface ParallelBag<T>
groupBy
in interface ParallelUnsortedBag<T>
groupBy
in interface ParallelIterable<T>
public <V> UnsortedBagMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach
in interface ParallelBag<T>
groupByEach
in interface ParallelUnsortedBag<T>
groupByEach
in interface ParallelIterable<T>
Copyright © 2004–2016. All rights reserved.