MathHelper.min

Returns the smaller of two {@code int} values. That is, the result the argument closer to the value of {@link Integer#MIN_VALUE}. If the arguments have the same value, the result is that same value.

@param a an argument. @param b another argument. @return the smaller of {@code a} and {@code b}.

  1. int min(int a, int b)
    class MathHelper
    static
    int
    min
    (
    int a
    ,
    int b
    )
  2. long min(long a, long b)

Meta