public abstract class AbstractBatch<T> extends Object implements Batch<T>
| Constructor and Description |
|---|
AbstractBatch() |
| Modifier and Type | Method and Description |
|---|---|
int |
count(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
String |
makeString(String separator) |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
DoubleSumResultHolder |
sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
DoubleSumResultHolder |
sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function) |
long |
sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function) |
long |
sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollect, flatCollect, forEach, selectpublic int count(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
public String makeString(String separator)
makeString in interface Batch<T>public <V extends Comparable<? super V>> T minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public <V extends Comparable<? super V>> T maxBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public long sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function)
public DoubleSumResultHolder sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function)
sumOfFloat in interface Batch<T>public long sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function)
public DoubleSumResultHolder sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sumOfDouble in interface Batch<T>Copyright © 2004–2018. All rights reserved.