public class NonParallelUnsortedBag<T> extends NonParallelIterable<T,com.gs.collections.api.bag.UnsortedBag<T>> implements com.gs.collections.api.bag.ParallelUnsortedBag<T>
delegate| Constructor and Description |
|---|
NonParallelUnsortedBag(com.gs.collections.api.bag.UnsortedBag<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.set.ParallelUnsortedSetIterable<T> |
asUnique() |
<V> com.gs.collections.api.bag.ParallelUnsortedBag<V> |
collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.
|
<V> com.gs.collections.api.bag.ParallelUnsortedBag<V> |
collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
<P,V> com.gs.collections.api.bag.ParallelUnsortedBag<V> |
collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> com.gs.collections.api.bag.ParallelUnsortedBag<V> |
flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.
|
void |
forEachWithOccurrences(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure) |
<V> com.gs.collections.api.multimap.bag.UnsortedBagMultimap<V,T> |
groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V> com.gs.collections.api.multimap.bag.UnsortedBagMultimap<V,T> |
groupByEach(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function) |
com.gs.collections.api.bag.ParallelUnsortedBag<T> |
reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
<P> com.gs.collections.api.bag.ParallelUnsortedBag<T> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
com.gs.collections.api.bag.ParallelUnsortedBag<T> |
select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
<S> com.gs.collections.api.bag.ParallelUnsortedBag<S> |
selectInstancesOf(java.lang.Class<S> clazz) |
<P> com.gs.collections.api.bag.ParallelUnsortedBag<T> |
selectWith(com.gs.collections.api.block.predicate.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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregateBy, 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, toSortedSetBypublic NonParallelUnsortedBag(com.gs.collections.api.bag.UnsortedBag<T> delegate)
public void forEachWithOccurrences(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences in interface com.gs.collections.api.bag.ParallelBag<T>public com.gs.collections.api.set.ParallelUnsortedSetIterable<T> asUnique()
public com.gs.collections.api.bag.ParallelUnsortedBag<T> select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
com.gs.collections.api.bag.ParallelUnsortedBagpublic <P> com.gs.collections.api.bag.ParallelUnsortedBag<T> selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
public com.gs.collections.api.bag.ParallelUnsortedBag<T> reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
com.gs.collections.api.bag.ParallelUnsortedBagpublic <P> com.gs.collections.api.bag.ParallelUnsortedBag<T> rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
public <S> com.gs.collections.api.bag.ParallelUnsortedBag<S> selectInstancesOf(java.lang.Class<S> clazz)
public <V> com.gs.collections.api.bag.ParallelUnsortedBag<V> collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
com.gs.collections.api.bag.ParallelUnsortedBagpublic <P,V> com.gs.collections.api.bag.ParallelUnsortedBag<V> collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends V> function, P parameter)
public <V> com.gs.collections.api.bag.ParallelUnsortedBag<V> collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.function.Function<? super T,? extends V> function)
com.gs.collections.api.bag.ParallelUnsortedBagpublic <V> com.gs.collections.api.bag.ParallelUnsortedBag<V> flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function)
com.gs.collections.api.bag.ParallelUnsortedBagpublic <V> com.gs.collections.api.multimap.bag.UnsortedBagMultimap<V,T> groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)