Interface Batch<T>
-
- All Known Subinterfaces:
ListBatch<T>,OrderedBatch<T>,RootBatch<T>,RootListBatch<T>,RootSortedSetBatch<T>,RootUnsortedBagBatch<T>,RootUnsortedSetBatch<T>,SortedSetBatch<T>,UnsortedBagBatch<T>,UnsortedSetBatch<T>
- All Known Implementing Classes:
AbstractBatch,CollectListBatch,CollectSortedSetBatch,CollectUnsortedBagBatch,CollectUnsortedSetBatch,DistinctBatch,FlatCollectListBatch,FlatCollectSortedSetBatch,FlatCollectUnsortedBagBatch,ImmutableTreeSet.ImmutableTreeSetBatch,ListIterableBatch,SelectListBatch,SelectSortedSetBatch,SelectUnsortedBagBatch,SelectUnsortedSetBatch,UnifiedSet.UnifiedUnsortedSetBatch,UnifiedSetWithHashingStrategy.UnifiedUnsortedSetBatch
public interface Batch<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> Batch<V>collect(Function<? super T,? extends V> function)intcount(Predicate<? super T> predicate)<V> Batch<V>flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)voidforEach(Procedure<? super T> procedure)java.lang.StringmakeString(java.lang.String separator)Tmax(java.util.Comparator<? super T> comparator)<V extends java.lang.Comparable<? super V>>
TmaxBy(Function<? super T,? extends V> function)Tmin(java.util.Comparator<? super T> comparator)<V extends java.lang.Comparable<? super V>>
TminBy(Function<? super T,? extends V> function)Batch<T>select(Predicate<? super T> predicate)DoubleSumResultHoldersumOfDouble(DoubleFunction<? super T> function)DoubleSumResultHoldersumOfFloat(FloatFunction<? super T> function)longsumOfInt(IntFunction<? super T> function)longsumOfLong(LongFunction<? super T> function)
-
-
-
Method Detail
-
flatCollect
<V> Batch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
-
makeString
java.lang.String makeString(java.lang.String separator)
-
minBy
<V extends java.lang.Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
-
maxBy
<V extends java.lang.Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
-
sumOfInt
long sumOfInt(IntFunction<? super T> function)
-
sumOfLong
long sumOfLong(LongFunction<? super T> function)
-
sumOfFloat
DoubleSumResultHolder sumOfFloat(FloatFunction<? super T> function)
-
sumOfDouble
DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function)
-
-