Batch<T>CollectListBatch, CollectSortedSetBatch, CollectUnsortedBagBatch, CollectUnsortedSetBatch, DistinctBatch, FlatCollectListBatch, FlatCollectSortedSetBatch, FlatCollectUnsortedBagBatch, ListIterableBatch, SelectListBatch, SelectSortedSetBatch, SelectUnsortedBagBatch, SelectUnsortedSetBatchpublic abstract class AbstractBatch<T> extends java.lang.Object implements Batch<T>
| Constructor | Description |
|---|---|
AbstractBatch() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
count(Predicate<? super T> predicate) |
|
java.lang.String |
makeString(java.lang.String separator) |
|
T |
max(java.util.Comparator<? super T> comparator) |
|
<V extends java.lang.Comparable<? super V>> |
maxBy(Function<? super T,? extends V> function) |
|
T |
min(java.util.Comparator<? super T> comparator) |
|
<V extends java.lang.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 java.lang.String makeString(java.lang.String separator)
makeString in interface Batch<T>public <V extends java.lang.Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
public <V extends java.lang.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–2020. All rights reserved.