public static int min (int a, int b)

Returns the smaller of two int values as if by calling Math.min.

Parameters:
a    the first operand
b    the second operand

Returns:  the smaller of a and b

See also:
java.util.function.BinaryOperator

Since:  1.8