public class MaxFunction extends Object implements BinaryFunction<Double,Double,Double>
| Constructor and Description |
|---|
MaxFunction() |
| Modifier and Type | Method and Description |
|---|---|
Double |
eval(Double val1,
Double val2)
Evaluates the function for the given elements.
|
public Double eval(Double val1, Double val2)
BinaryFunctioneval in interface BinaryFunction<Double,Double,Double>val1 - some elementval2 - some elementCopyright © 2018. All rights reserved.