Class NonParallelListIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.NonParallelIterable<T,ListIterable<T>>
org.eclipse.collections.impl.lazy.parallel.list.NonParallelListIterable<T>
- All Implemented Interfaces:
ParallelListIterable<T>
,ParallelIterable<T>
public class NonParallelListIterable<T> extends NonParallelIterable<T,ListIterable<T>> implements ParallelListIterable<T>
-
Constructor Summary
Constructors Constructor Description NonParallelListIterable(ListIterable<T> delegate)
-
Method Summary
Modifier and Type Method Description ParallelUnsortedSetIterable<T>
asUnique()
<V> ParallelListIterable<V>
collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelListIterable<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> ParallelListIterable<V>
collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V> ParallelListIterable<V>
flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> ListMultimap<V,T>
groupBy(Function<? super T,? extends V> function)
<V> ListMultimap<V,T>
groupByEach(Function<? super T,? extends Iterable<V>> function)
ParallelListIterable<T>
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelListIterable<T>
rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ParallelListIterable<T>
select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelListIterable<S>
selectInstancesOf(Class<S> clazz)
<P> ParallelListIterable<T>
selectWith(Predicate2<? super T,? super P> predicate, P parameter)
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.NonParallelIterable
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
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
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
-
Constructor Details
-
Method Details
-
asUnique
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelListIterable<T>
-
select
Description copied from interface:ParallelListIterable
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelListIterable<T>
-
selectWith
public <P> ParallelListIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelListIterable<T>
-
reject
Description copied from interface:ParallelListIterable
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelListIterable<T>
-
rejectWith
public <P> ParallelListIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelListIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelListIterable<T>
-
collect
Description copied from interface:ParallelListIterable
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collect
in interfaceParallelIterable<T>
- Specified by:
collect
in interfaceParallelListIterable<T>
-
collectWith
public <P, V> ParallelListIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)- Specified by:
collectWith
in interfaceParallelIterable<T>
- Specified by:
collectWith
in interfaceParallelListIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)Description copied from interface:ParallelListIterable
Creates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIf
in interfaceParallelIterable<T>
- Specified by:
collectIf
in interfaceParallelListIterable<T>
-
flatCollect
public <V> ParallelListIterable<V> flatCollect(Function<? super T,? extends Iterable<V>> function)Description copied from interface:ParallelListIterable
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollect
in interfaceParallelIterable<T>
- Specified by:
flatCollect
in interfaceParallelListIterable<T>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelListIterable<T>
-
groupByEach
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelListIterable<T>
-