public final class ListIterableParallelIterable<T> extends AbstractParallelListIterable<T,RootListBatch<T>>
| Constructor and Description |
|---|
ListIterableParallelIterable(com.gs.collections.api.list.ListIterable<T> delegate,
java.util.concurrent.ExecutorService executorService,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
T |
detect(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<V> com.gs.collections.api.list.ParallelListIterable<V> |
flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.
|
void |
forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
int |
getBatchSize() |
java.util.concurrent.ExecutorService |
getExecutorService() |
<V> com.gs.collections.api.multimap.list.ListMultimap<V,T> |
groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V> com.gs.collections.api.multimap.list.ListMultimap<V,T> |
groupByEach(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function) |
<V> com.gs.collections.api.map.MapIterable<V,T> |
groupByUniqueKey(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
com.gs.collections.api.LazyIterable<RootListBatch<T>> |
split() |
java.lang.Object[] |
toArray() |
<E> E[] |
toArray(E[] array) |
asUnique, collect, collectIf, collectWith, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWithaggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, collectCombine, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, forEachWith, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBypublic ListIterableParallelIterable(com.gs.collections.api.list.ListIterable<T> delegate, java.util.concurrent.ExecutorService executorService, int batchSize)
public java.util.concurrent.ExecutorService getExecutorService()
getExecutorService in class AbstractParallelIterable<T,RootListBatch<T>>public com.gs.collections.api.LazyIterable<RootListBatch<T>> split()
split in class AbstractParallelIterable<T,RootListBatch<T>>public void forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
public boolean anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public boolean allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public <V> com.gs.collections.api.list.ParallelListIterable<V> flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function)
com.gs.collections.api.list.ParallelListIterableflatCollect in interface com.gs.collections.api.list.ParallelListIterable<T>flatCollect in interface com.gs.collections.api.ParallelIterable<T>flatCollect in class AbstractParallelListIterable<T,RootListBatch<T>>public java.lang.Object[] toArray()
toArray in interface com.gs.collections.api.ParallelIterable<T>toArray in class AbstractParallelListIterable<T,RootListBatch<T>>public <E> E[] toArray(E[] array)
toArray in interface com.gs.collections.api.ParallelIterable<T>toArray in class AbstractParallelListIterable<T,RootListBatch<T>>public <V> com.gs.collections.api.multimap.list.ListMultimap<V,T> groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
groupBy in interface com.gs.collections.api.list.ParallelListIterable<T>groupBy in interface com.gs.collections.api.ParallelIterable<T>groupBy in class AbstractParallelListIterable<T,RootListBatch<T>>public <V> com.gs.collections.api.multimap.list.ListMultimap<V,T> groupByEach(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function)
groupByEach in interface com.gs.collections.api.list.ParallelListIterable<T>groupByEach in interface com.gs.collections.api.ParallelIterable<T>groupByEach in class AbstractParallelListIterable<T,RootListBatch<T>>public <V> com.gs.collections.api.map.MapIterable<V,T> groupByUniqueKey(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
groupByUniqueKey in interface com.gs.collections.api.ParallelIterable<T>groupByUniqueKey in class AbstractParallelListIterable<T,RootListBatch<T>>public int getBatchSize()
getBatchSize in class AbstractParallelIterable<T,RootListBatch<T>>