MathHelper.max

Returns the greater of two {@code long} values. That is, the result is the argument closer to the value of {@link Long#MAX_VALUE}. If the arguments have the same value, the result is that same value.

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

  1. int max(int a, int b)
  2. long max(long a, long b)
    class MathHelper
    static
    long
    max
    (
    long a
    ,
    long b
    )
  3. float max(float a, float b)
  4. double max(double a, double b)

Meta