Batch<T>
, ListBatch<T>
, OrderedBatch<T>
public class SelectListBatch<T> extends AbstractBatch<T> implements ListBatch<T>
Constructor | Description |
---|---|
SelectListBatch(ListBatch<T> listBatch,
Predicate<? super T> predicate) |
Modifier and Type | Method | 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
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–2017. All rights reserved.