public class ListIterableBatch<T> extends AbstractBatch<T> implements RootListBatch<T>
Constructor and Description |
---|
ListIterableBatch(ListIterable<T> list,
int chunkStartIndex,
int chunkEndIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(Predicate<? super T> predicate) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<V> ListBatch<V> |
collect(Function<? super T,? extends V> function) |
int |
count(Predicate<? super T> predicate) |
T |
detect(Predicate<? super T> predicate) |
UnsortedSetBatch<T> |
distinct(ConcurrentHashMap<T,Boolean> distinct) |
<V> ListBatch<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
void |
forEach(Procedure<? super T> procedure) |
ListBatch<T> |
select(Predicate<? super T> predicate) |
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
public ListIterableBatch(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex)
public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy
in interface RootBatch<T>
public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy
in interface RootBatch<T>
public <V> ListBatch<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect
in interface Batch<T>
flatCollect
in interface OrderedBatch<T>
public UnsortedSetBatch<T> distinct(ConcurrentHashMap<T,Boolean> distinct)
Copyright © 2004–2016. All rights reserved.