public final class ListIterableParallelIterable<T> extends AbstractParallelListIterable<T,RootListBatch<T>>
| Constructor and Description |
|---|
ListIterableParallelIterable(com.gs.collections.api.list.ListIterable<T> delegate,
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 Iterable<V>> function) |
void |
forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
int |
getBatchSize() |
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 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() |
Object[] |
toArray() |
<E> E[] |
toArray(E[] array) |
asUnique, collect, collectIf, collectWith, reject, rejectWith, select, selectInstancesOf, selectWithaggregateBy, 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, toSortedSetBy, toStringequals, 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, ExecutorService executorService, int batchSize)
public 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 Iterable<V>> function)
flatCollect 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 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 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>>Copyright © 2004–2016. All rights reserved.