Top Description Methods
org.eclipse.collections.api.list

public Interface ParallelListIterable<T>

extends ParallelIterable<T>
Annotations
@Beta
Imports
org.eclipse.collections.api.ParallelIterable, org.eclipse.collections.api.annotation.Beta, org.eclipse.collections.api.block.function.Function, .Function2, org.eclipse.collections.api.block.predicate.Predicate, .Predicate2, org.eclipse.collections.api.multimap.list.ListMultimap, org.eclipse.collections.api.set.ParallelUnsortedSetIterable

A ParallelIterable is RichIterable which will defer evaluation for certain methods like select, reject, collect, etc. Any methods that do not return a ParallelIterable when called will cause evaluation to be forced. Evaluation occurs in parallel. All code blocks passed in must be stateless or thread-safe.
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public ParallelUnsortedSetIterable<T>
public <V> ParallelListIterable<V>
collect(Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.collect.

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

public <V> ParallelListIterable<V>
collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.collectIf.

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

public <P, V> ParallelListIterable<V>
collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.collectWith.

public <V> ParallelListIterable<V>
flatCollect(Function<? super T, ? extends Iterable<V>> function)

Redeclares org.eclipse.collections.api.ParallelIterable.flatCollect.

Creates a parallel flattening iterable for the current iterable.

public <V> ListMultimap<V, T>
groupBy(Function<? super T, ? extends V> function)

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

public <V> ListMultimap<V, T>
public ParallelListIterable<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> ParallelListIterable<T>
rejectWith(Predicate2<? super T, ? super P> predicate, P parameter)

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

public ParallelListIterable<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> ParallelListIterable<S>
public <P> ParallelListIterable<T>
selectWith(Predicate2<? super T, ? super P> predicate, P parameter)

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

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

Method Detail

asUniqueback to summary
public ParallelUnsortedSetIterable<T> asUnique()

Redeclares org.eclipse.collections.api.ParallelIterable.asUnique.

Annotations
@Override
collectback to summary
public <V> ParallelListIterable<V> collect(Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.collect.

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

Annotations
@Override
collectIfback to summary
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function)

Redeclares org.eclipse.collections.api.ParallelIterable.collectIf.

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

Annotations
@Override
collectWithback to summary
public <P, V> ParallelListIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter)

Redeclares org.eclipse.collections.api.ParallelIterable.collectWith.

Annotations
@Override
flatCollectback to summary
public <V> ParallelListIterable<V> flatCollect(Function<? super T, ? extends Iterable<V>> function)

Redeclares org.eclipse.collections.api.ParallelIterable.flatCollect.

Creates a parallel flattening iterable for the current iterable.

Annotations
@Override
groupByback to summary
public <V> ListMultimap<V, T> groupBy(Function<? super T, ? extends V> function)

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

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

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

Annotations
@Override
rejectback to summary
public ParallelListIterable<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> ParallelListIterable<T> rejectWith(Predicate2<? super T, ? super P> predicate, P parameter)

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

Annotations
@Override
selectback to summary
public ParallelListIterable<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> ParallelListIterable<S> selectInstancesOf(Class<S> clazz)

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

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

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

Annotations
@Override