public abstract class AbstractBatch<T> extends Object implements Batch<T>
| Constructor and Description |
|---|
AbstractBatch() |
| Modifier and Type | Method and 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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollect, 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–2022. All rights reserved.