Class ParallelFlatCollectIterable<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.ParallelFlatCollectIterable<T,V>
-
- All Implemented Interfaces:
ParallelIterable<V>
public class ParallelFlatCollectIterable<T,V> extends AbstractParallelIterableImpl<V,Batch<V>>
-
-
Constructor Summary
Constructors Constructor Description ParallelFlatCollectIterable(AbstractParallelIterable<T,? extends Batch<T>> delegate, Function<? super T,? extends Iterable<V>> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(Predicate<? super V> predicate)
boolean
anySatisfy(Predicate<? super V> predicate)
V
detect(Predicate<? super V> predicate)
void
forEach(Procedure<? super V> procedure)
int
getBatchSize()
ExecutorService
getExecutorService()
<V1> UnsortedBagMultimap<V1,V>
groupBy(Function<? super V,? extends V1> function)
<V1> UnsortedBagMultimap<V1,V>
groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> MapIterable<V1,V>
groupByUniqueKey(Function<? super V,? extends V1> function)
LazyIterable<Batch<V>>
split()
Object[]
toArray()
<E> E[]
toArray(E[] array)
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterableImpl
asUnique, collect, collectIf, collectWith, flatCollect, reject, rejectWith, select, selectInstancesOf, selectWith
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, 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
equals, 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 ExecutorService getExecutorService()
- Specified by:
getExecutorService
in classAbstractParallelIterable<V,Batch<V>>
-
getBatchSize
public int getBatchSize()
- Specified by:
getBatchSize
in classAbstractParallelIterable<V,Batch<V>>
-
split
public LazyIterable<Batch<V>> split()
- Specified by:
split
in classAbstractParallelIterable<V,Batch<V>>
-
toArray
public Object[] toArray()
-
toArray
public <E> E[] toArray(E[] array)
- Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelIterable<V,Batch<V>>
-
groupBy
public <V1> UnsortedBagMultimap<V1,V> groupBy(Function<? super V,? extends V1> function)
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Overrides:
groupBy
in classAbstractParallelIterableImpl<V,Batch<V>>
-
groupByEach
public <V1> UnsortedBagMultimap<V1,V> groupByEach(Function<? super V,? extends Iterable<V1>> function)
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Overrides:
groupByEach
in classAbstractParallelIterableImpl<V,Batch<V>>
-
groupByUniqueKey
public <V1> MapIterable<V1,V> groupByUniqueKey(Function<? super V,? extends V1> function)
- Specified by:
groupByUniqueKey
in interfaceParallelIterable<T>
- Overrides:
groupByUniqueKey
in classAbstractParallelIterable<V,Batch<V>>
-
-