Top Fields Constructors Methods
org.eclipse.collections.impl.lazy.parallel

public final Class MultiReaderParallelIterable<T>

extends AbstractMultiReaderParallelIterable<T, ParallelIterable<T>>
Class Inheritance
Annotations
@Beta
Imports
java.util.concurrent.locks.ReadWriteLock, 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.Multimap

Field Summary

Inherited from org.eclipse.collections.impl.lazy.parallel.AbstractMultiReaderParallelIterable:
delegatelock

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.eclipse.collections.api.ParallelIterable.collect.

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

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

Implements org.eclipse.collections.api.ParallelIterable.collectIf.

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

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

Implements org.eclipse.collections.api.ParallelIterable.collectWith.

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

Implements org.eclipse.collections.api.ParallelIterable.flatCollect.

Creates a parallel flattening iterable for the current iterable.

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

Implements org.eclipse.collections.api.ParallelIterable.groupBy.

public <V> Multimap<V, T>
public ParallelIterable<T>
reject(Predicate<? super T> predicate)

Implements org.eclipse.collections.api.ParallelIterable.reject.

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

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

Implements org.eclipse.collections.api.ParallelIterable.rejectWith.

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

Implements org.eclipse.collections.api.ParallelIterable.select.

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

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

Implements org.eclipse.collections.api.ParallelIterable.selectWith.

Inherited from org.eclipse.collections.impl.lazy.parallel.AbstractMultiReaderParallelIterable:
aggregateByaggregateInPlaceByallSatisfyallSatisfyWithanySatisfyanySatisfyWithappendStringappendStringappendStringcountcountWithdetectdetectIfNonedetectWithdetectWithIfNoneforEachforEachWithgroupByUniqueKeymakeStringmakeStringmakeStringmakeStringmaxmaxmaxByminminminBynoneSatisfynoneSatisfyWithsumOfDoublesumOfFloatsumOfIntsumOfLongtoArraytoArraytoBagtoListtoMaptoSettoSortedBagtoSortedBagtoSortedBagBytoSortedListtoSortedListtoSortedListBytoSortedMaptoSortedMaptoSortedSettoSortedSettoSortedSetBytoStringwrapwrapwrap

Constructor Detail

MultiReaderParallelIterableback to summary
public MultiReaderParallelIterable(ParallelIterable<T> delegate, ReadWriteLock lock)

Method Detail

asUniqueback to summary
public ParallelIterable<T> asUnique()

Implements org.eclipse.collections.api.ParallelIterable.asUnique.

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

Implements org.eclipse.collections.api.ParallelIterable.collect.

Doc from org.eclipse.collections.api.ParallelIterable.collect.

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

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

Implements org.eclipse.collections.api.ParallelIterable.collectIf.

Doc from 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> ParallelIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter)

Implements org.eclipse.collections.api.ParallelIterable.collectWith.

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

Implements org.eclipse.collections.api.ParallelIterable.flatCollect.

Doc from org.eclipse.collections.api.ParallelIterable.flatCollect.

Creates a parallel flattening iterable for the current iterable.

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

Implements org.eclipse.collections.api.ParallelIterable.groupBy.

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

Implements org.eclipse.collections.api.ParallelIterable.groupByEach.

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

Implements org.eclipse.collections.api.ParallelIterable.reject.

Doc from org.eclipse.collections.api.ParallelIterable.reject.

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

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

Implements org.eclipse.collections.api.ParallelIterable.rejectWith.

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

Implements org.eclipse.collections.api.ParallelIterable.select.

Doc from org.eclipse.collections.api.ParallelIterable.select.

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

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

Implements org.eclipse.collections.api.ParallelIterable.selectInstancesOf.

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

Implements org.eclipse.collections.api.ParallelIterable.selectWith.

Annotations
@Override