Max

See javadoc - uk.gov.gchq.koryphe.impl.binaryoperator.Max

Available since Koryphe version 1.0.0

Returns the max value.

Examples

Max

Java
JSON
Full JSON
Python
final Max function = new Max();
{
  "class" : "uk.gov.gchq.koryphe.impl.binaryoperator.Max"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.binaryoperator.Max"
}
g.Max()

Input type:

java.lang.Comparable

Example inputs:

Input TypeInputsResult TypeResult
java.lang.Integer5 and 6java.lang.Integer6
java.lang.StringinputString and anotherInputStringjava.lang.StringinputString
null and 1java.lang.Integer1

results matching ""

    No results matching ""