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
Modifier and Type Method Description int
count(Predicate<? super T> predicate)
String
makeString(String separator)
T
max(Comparator<? super T> comparator)
<V extends Comparable<? super V>>
TmaxBy(Function<? super T,? extends V> function)
T
min(Comparator<? super T> comparator)
<V extends Comparable<? super V>>
TminBy(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)
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
-
Constructor Details
-
AbstractBatch
public AbstractBatch()
-
-
Method Details
-
count
-
makeString
- Specified by:
makeString
in interfaceBatch<T>
-
min
-
max
-
minBy
-
maxBy
-
sumOfInt
-
sumOfFloat
- Specified by:
sumOfFloat
in interfaceBatch<T>
-
sumOfLong
-
sumOfDouble
- Specified by:
sumOfDouble
in interfaceBatch<T>
-