Batch<T>CollectListBatch, CollectSortedSetBatch, CollectUnsortedBagBatch, CollectUnsortedSetBatch, DistinctBatch, FlatCollectListBatch, FlatCollectSortedSetBatch, FlatCollectUnsortedBagBatch, ListIterableBatch, SelectListBatch, SelectSortedSetBatch, SelectUnsortedBagBatch, SelectUnsortedSetBatchpublic abstract class AbstractBatch<T> extends Object implements Batch<T>
| Constructor | Description |
|---|---|
AbstractBatch() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
count(Predicate<? super T> predicate) |
|
String |
makeString(String separator) |
|
T |
max(Comparator<? super T> comparator) |
|
<V extends Comparable<? super V>> |
maxBy(Function<? super T,? extends V> function) |
|
T |
min(Comparator<? super T> comparator) |
|
<V extends Comparable<? super V>> |
minBy(Function<? super T,? extends V> function) |
|
DoubleSumResultHolder |
sumOfDouble(DoubleFunction<? super T> function) |
|
DoubleSumResultHolder |
sumOfFloat(FloatFunction<? super T> function) |
|
long |
sumOfInt(IntFunction<? super T> function) |
|
long |
sumOfLong(LongFunction<? super T> function) |
collect, flatCollect, forEach, selectpublic String makeString(String separator)
makeString in interface Batch<T>public <V extends Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
public <V extends Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
public long sumOfInt(IntFunction<? super T> function)
public DoubleSumResultHolder sumOfFloat(FloatFunction<? super T> function)
sumOfFloat in interface Batch<T>public long sumOfLong(LongFunction<? super T> function)
public DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function)
sumOfDouble in interface Batch<T>Copyright © 2004–2019. All rights reserved.