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 TypeInputsResult TypeResult
java.lang.Integer5 and 6java.lang.Integer5
java.lang.StringinputString and anotherInputStringjava.lang.StringanotherInputString
null and 1java.lang.Integer1

results matching ""

    No results matching ""