public abstract class CompareByFunction extends TransformByFunction
TransformByFunction.Aggregator<V>| Constructor and Description |
|---|
CompareByFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> TransformByFunction.Aggregator<T> |
createAggregator(Adapter<T> runtime,
int elementCount,
T element,
T elementValue) |
protected <T> T |
createNullValue(Adapter<T> runtime) |
protected abstract boolean |
sortsBefore(int compareResult)
Subclasses override this method to decide whether the greatest or least
element sorts first.
|
callFunctionargumentConstraints, call, nameprotected abstract boolean sortsBefore(int compareResult)
protected <T> TransformByFunction.Aggregator<T> createAggregator(Adapter<T> runtime, int elementCount, T element, T elementValue)
createAggregator in class TransformByFunctionprotected <T> T createNullValue(Adapter<T> runtime)
createNullValue in class TransformByFunctionCopyright © 2016–2023. All rights reserved.