Min
See javadoc - uk.gov.gchq.koryphe.impl.binaryoperator.Min
Available since Koryphe version 1.0.0
Returns the min value.
Examples
Min
Java
JSON
Full JSON
Python
final Min function = new Min();{
"class" : "uk.gov.gchq.koryphe.impl.binaryoperator.Min"
}{
"class" : "uk.gov.gchq.koryphe.impl.binaryoperator.Min"
}g.Min()Input type:
java.lang.Comparable
Example inputs:
| Input Type | Inputs | Result Type | Result |
|---|---|---|---|
| java.lang.Integer | 5 and 6 | java.lang.Integer | 5 |
| java.lang.String | inputString and anotherInputString | java.lang.String | anotherInputString |
| null and 1 | java.lang.Integer | 1 |