public class CollectListBatch<T,V> extends AbstractBatch<V> implements ListBatch<V>
Constructor and Description |
---|
CollectListBatch(Batch<T> batch,
Function<? super T,? extends V> function) |
Modifier and Type | Method and Description |
---|---|
<VV> ListBatch<VV> |
collect(Function<? super V,? extends VV> function) |
UnsortedSetBatch<V> |
distinct(ConcurrentHashMap<V,Boolean> distinct) |
<VV> ListBatch<VV> |
flatCollect(Function<? super V,? extends Iterable<VV>> function) |
void |
forEach(Procedure<? super V> procedure) |
ListBatch<V> |
select(Predicate<? super V> 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 <VV> ListBatch<VV> flatCollect(Function<? super V,? extends Iterable<VV>> function)
flatCollect
in interface Batch<V>
flatCollect
in interface OrderedBatch<V>
public UnsortedSetBatch<V> distinct(ConcurrentHashMap<V,Boolean> distinct)
Copyright © 2004–2016. All rights reserved.