public abstract class CompareFunction extends ArrayMathFunction
| Constructor and Description |
|---|
CompareFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
performMathOperation(Adapter<T> runtime,
List<T> values)
Subclasses implement this method.
|
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> T performMathOperation(Adapter<T> runtime, List<T> values)
ArrayMathFunctionperformMathOperation in class ArrayMathFunctionCopyright © 2016–2021. All rights reserved.