Java Utililty Methods Number Max Value

List of utility methods to do Number Max Value

Description

The list of methods to do Number Max Value are organized into topic(s).

Method

intmax(int a, int b, int c, int d)
max
return Math.max(Math.max(a, b), Math.max(c, d));
intmax(int a, int b, int c, int d)
max
return max(max(a, b, c), d);
intmax(int i, int j)
max
return i > j ? i : j;
intmax(int i, int j)
max
if (j > i) {
    return j;
} else {
    return i;
intmax(int i, int j, int k)
max
return max(max(i, j), k);
intmax(int idx, int orderFrom, int orderTo)
Returns the greatest index in order orderTo of healpix pixels contained by the healpix pixel of index idx in order orderFrom.
if (orderFrom > orderTo)
    throw new IllegalArgumentException("'orderFrom' must be smaller than 'orderTo'!");
return ((++idx) << ((orderTo - orderFrom) << 1)) - 1;
intmax(int x, int x2, int x3)
max
return x > x2 ? (x > x3 ? x : x3) : (x2 > x3 ? x2 : x3);
intmax(int x, int y)
Get maximum of two given values
return (x > y) ? x : y;
intmax(Integer a, Integer b)
Max.
return Math.max(a, b);
Integermax(Integer i1, Integer i2)
Returns the bigger of the two Integers.
if (i1 != null && i2 != null)
    return i1 > i2 ? i1 : i2;
return i1 == null ? i2 : i1;