ListBatch<T>, OrderedBatch<T>, RootBatch<T>, RootListBatch<T>, RootSortedSetBatch<T>, RootUnsortedBagBatch<T>, RootUnsortedSetBatch<T>, SortedSetBatch<T>, UnsortedBagBatch<T>, UnsortedSetBatch<T>AbstractBatch, CollectListBatch, CollectSortedSetBatch, CollectUnsortedBagBatch, CollectUnsortedSetBatch, DistinctBatch, FlatCollectListBatch, FlatCollectSortedSetBatch, FlatCollectUnsortedBagBatch, ListIterableBatch, SelectListBatch, SelectSortedSetBatch, SelectUnsortedBagBatch, SelectUnsortedSetBatchpublic interface Batch<T>
| Modifier and Type | Method | 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 java.lang.Iterable<V>> function) |
|
void |
forEach(Procedure<? super T> procedure) |
|
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) |
|
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) |
java.lang.String makeString(java.lang.String separator)
<V extends java.lang.Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
<V extends java.lang.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–2020. All rights reserved.