public interface Batch<T>
Modifier and Type | Method and Description |
---|---|
<V> Batch<V> |
collect(Function<? super T,? extends V> function) |
int |
count(Predicate<? super T> predicate) |
<V> Batch<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
void |
forEach(Procedure<? super T> procedure) |
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) |
Batch<T> |
select(Predicate<? super T> predicate) |
DoubleSumResultHolder |
sumOfDouble(DoubleFunction<? super T> function) |
DoubleSumResultHolder |
sumOfFloat(FloatFunction<? super T> function) |
long |
sumOfInt(IntFunction<? super T> function) |
long |
sumOfLong(LongFunction<? super T> function) |
T min(Comparator<? super T> comparator)
T max(Comparator<? super T> comparator)
<V extends Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
long sumOfInt(IntFunction<? super T> function)
long sumOfLong(LongFunction<? super T> function)
DoubleSumResultHolder sumOfFloat(FloatFunction<? super T> function)
DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function)
Copyright © 2004–2016. All rights reserved.