Class AbstractBatch<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
-
- All Implemented Interfaces:
Batch<T>
- Direct Known Subclasses:
CollectListBatch,CollectSortedSetBatch,CollectUnsortedBagBatch,CollectUnsortedSetBatch,DistinctBatch,FlatCollectListBatch,FlatCollectSortedSetBatch,FlatCollectUnsortedBagBatch,ListIterableBatch,SelectListBatch,SelectSortedSetBatch,SelectUnsortedBagBatch,SelectUnsortedSetBatch
public abstract class AbstractBatch<T> extends Object implements Batch<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcount(Predicate<? super T> predicate)StringmakeString(String separator)Tmax(Comparator<? super T> comparator)<V extends Comparable<? super V>>
TmaxBy(Function<? super T,? extends V> function)Tmin(Comparator<? super T> comparator)<V extends Comparable<? super V>>
TminBy(Function<? super T,? extends V> function)DoubleSumResultHoldersumOfDouble(DoubleFunction<? super T> function)DoubleSumResultHoldersumOfFloat(FloatFunction<? super T> function)longsumOfInt(IntFunction<? super T> function)longsumOfLong(LongFunction<? super T> function)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.impl.lazy.parallel.Batch
collect, flatCollect, forEach, select
-
-
-
-
Method Detail
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfaceBatch<T>
-
minBy
public <V extends Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
-
maxBy
public <V extends Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
-
sumOfInt
public long sumOfInt(IntFunction<? super T> function)
-
sumOfFloat
public DoubleSumResultHolder sumOfFloat(FloatFunction<? super T> function)
- Specified by:
sumOfFloatin interfaceBatch<T>
-
sumOfLong
public long sumOfLong(LongFunction<? super T> function)
-
sumOfDouble
public DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function)
- Specified by:
sumOfDoublein interfaceBatch<T>
-
-