Class ParallelCollectIterable<T,V>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
-
- org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl<V,Batch<V>>
-
- org.eclipse.collections.impl.lazy.parallel.set.ParallelCollectIterable<T,V>
-
- All Implemented Interfaces:
ParallelIterable<V>
public class ParallelCollectIterable<T,V> extends AbstractParallelIterableImpl<V,Batch<V>>
-
-
Constructor Summary
Constructors Constructor Description ParallelCollectIterable(AbstractParallelIterable<T,? extends Batch<T>> delegate, Function<? super T,? extends V> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Predicate<? super V> predicate)booleananySatisfy(Predicate<? super V> predicate)Vdetect(Predicate<? super V> predicate)voidforEach(Procedure<? super V> procedure)intgetBatchSize()java.util.concurrent.ExecutorServicegetExecutorService()<V1> UnsortedBagMultimap<V1,V>groupBy(Function<? super V,? extends V1> function)<V1> UnsortedBagMultimap<V1,V>groupByEach(Function<? super V,? extends java.lang.Iterable<V1>> function)<V1> MapIterable<V1,V>groupByUniqueKey(Function<? super V,? extends V1> function)LazyIterable<Batch<V>>split()java.lang.Object[]toArray()<E> E[]toArray(E[] array)-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl
asUnique, collect, collectIf, collectWith, flatCollect, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWith
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, collectCombine, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
appendString, appendString, makeString, makeString, makeString, makeString, toSortedList
-
-
-
-
Method Detail
-
getExecutorService
public java.util.concurrent.ExecutorService getExecutorService()
- Specified by:
getExecutorServicein classAbstractParallelIterable<V,Batch<V>>
-
getBatchSize
public int getBatchSize()
- Specified by:
getBatchSizein classAbstractParallelIterable<V,Batch<V>>
-
split
public LazyIterable<Batch<V>> split()
- Specified by:
splitin classAbstractParallelIterable<V,Batch<V>>
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <E> E[] toArray(E[] array)
- Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelIterable<V,Batch<V>>
-
groupBy
public <V1> UnsortedBagMultimap<V1,V> groupBy(Function<? super V,? extends V1> function)
- Specified by:
groupByin interfaceParallelIterable<T>- Overrides:
groupByin classAbstractParallelIterableImpl<V,Batch<V>>
-
groupByEach
public <V1> UnsortedBagMultimap<V1,V> groupByEach(Function<? super V,? extends java.lang.Iterable<V1>> function)
- Specified by:
groupByEachin interfaceParallelIterable<T>- Overrides:
groupByEachin classAbstractParallelIterableImpl<V,Batch<V>>
-
groupByUniqueKey
public <V1> MapIterable<V1,V> groupByUniqueKey(Function<? super V,? extends V1> function)
- Specified by:
groupByUniqueKeyin interfaceParallelIterable<T>- Overrides:
groupByUniqueKeyin classAbstractParallelIterable<V,Batch<V>>
-
-