Top Methods
org.eclipse.collections.api.bag

public Interface ParallelBag<T>

extends ParallelIterable<T>
Known Direct Subinterfaces
org.eclipse.collections.api.bag.ParallelUnsortedBag, org.eclipse.collections.api.bag.sorted.ParallelSortedBag
Annotations
@Beta
Imports
org.eclipse.collections.api.ParallelIterable, org.eclipse.collections.api.annotation.Beta, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.predicate.Predicate, .Predicate2, org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure, org.eclipse.collections.api.multimap.bag.BagMultimap

Since
5.0

Method Summary

Modifier and TypeMethod and Description
public void
public <V> BagMultimap<V, T>
groupBy(Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.groupBy.

public <V> BagMultimap<V, T>
public ParallelBag<T>
reject(Predicate<? super T> predicate)

Redeclares org.eclipse.collections.api.ParallelIterable.reject.

Creates a parallel iterable for rejecting elements from the current iterable.

public <P> ParallelBag<T>
rejectWith(Predicate2<? super T, ? super P> predicate, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.rejectWith.

public ParallelBag<T>
select(Predicate<? super T> predicate)

Redeclares org.eclipse.collections.api.ParallelIterable.select.

Creates a parallel iterable for selecting elements from the current iterable.

public <S> ParallelBag<S>
public <P> ParallelBag<T>
selectWith(Predicate2<? super T, ? super P> predicate, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.selectWith.

Inherited from org.eclipse.collections.api.ParallelIterable:
aggregateByaggregateInPlaceByallSatisfyallSatisfyWithanySatisfyanySatisfyWithappendStringappendStringappendStringasUniquecollectcollectIfcollectWithcountcountWithdetectdetectIfNonedetectWithdetectWithIfNoneflatCollectforEachforEachWithgroupByUniqueKeymakeStringmakeStringmakeStringmakeStringmaxmaxmaxByminminminBynoneSatisfynoneSatisfyWithsumOfDoublesumOfFloatsumOfIntsumOfLongtoArraytoArraytoBagtoListtoMaptoSettoSortedBagtoSortedBagtoSortedBagBytoSortedListtoSortedListtoSortedListBytoSortedMaptoSortedMaptoSortedSettoSortedSettoSortedSetBy

Method Detail

forEachWithOccurrencesback to summary
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
groupByback to summary
public <V> BagMultimap<V, T> groupBy(Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.groupBy.

Annotations
@Override
groupByEachback to summary
public <V> BagMultimap<V, T> groupByEach(Function<? super T, ? extends Iterable<V>> function)

Redeclares org.eclipse.collections.api.ParallelIterable.groupByEach.

Annotations
@Override
rejectback to summary
public ParallelBag<T> reject(Predicate<? super T> predicate)

Redeclares org.eclipse.collections.api.ParallelIterable.reject.

Creates a parallel iterable for rejecting elements from the current iterable.

Annotations
@Override
rejectWithback to summary
public <P> ParallelBag<T> rejectWith(Predicate2<? super T, ? super P> predicate, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.rejectWith.

Annotations
@Override
selectback to summary
public ParallelBag<T> select(Predicate<? super T> predicate)

Redeclares org.eclipse.collections.api.ParallelIterable.select.

Creates a parallel iterable for selecting elements from the current iterable.

Annotations
@Override
selectInstancesOfback to summary
public <S> ParallelBag<S> selectInstancesOf(Class<S> clazz)

Redeclares org.eclipse.collections.api.ParallelIterable.selectInstancesOf.

Annotations
@Override
selectWithback to summary
public <P> ParallelBag<T> selectWith(Predicate2<? super T, ? super P> predicate, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.selectWith.

Annotations
@Override