public class SelectListBatch<T> extends AbstractBatch<T> implements ListBatch<T>
Constructor and Description |
---|
SelectListBatch(ListBatch<T> listBatch,
Predicate<? super T> predicate) |
Modifier and Type | Method and Description |
---|---|
<V> ListBatch<V> |
collect(Function<? super T,? extends V> function) |
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) |
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
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.