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
,ImmutableTreeSet.ImmutableTreeSetBatch
,ListIterableBatch
,SelectListBatch
,SelectSortedSetBatch
,SelectUnsortedBagBatch
,SelectUnsortedSetBatch
,UnifiedSet.UnifiedUnsortedSetBatch
,UnifiedSetWithHashingStrategy.UnifiedUnsortedSetBatch
public abstract class AbstractBatch<T> extends java.lang.Object implements Batch<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count(Predicate<? super T> predicate)
java.lang.String
makeString(java.lang.String separator)
T
max(java.util.Comparator<? super T> comparator)
<V extends java.lang.Comparable<? super V>>
TmaxBy(Function<? super T,? extends V> function)
T
min(java.util.Comparator<? super T> comparator)
<V extends java.lang.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
clone, equals, finalize, 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 java.lang.String makeString(java.lang.String separator)
- Specified by:
makeString
in interfaceBatch<T>
-
minBy
public <V extends java.lang.Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
-
maxBy
public <V extends java.lang.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:
sumOfFloat
in interfaceBatch<T>
-
sumOfLong
public long sumOfLong(LongFunction<? super T> function)
-
sumOfDouble
public DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function)
- Specified by:
sumOfDouble
in interfaceBatch<T>
-
-