List of utility methods to do Number Min Value
int | min(int a, int b, int c) A helper method for editDistance(String, String) .
int mi; mi = a; if (b < mi) { mi = b; if (c < mi) { mi = c; return mi; |
int | min(int a, int b, int c) min if (a > b) a = b; if (a > c) a = c; return a; |
int | min(int idx, int orderFrom, int orderTo) Returns the smallest 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); |
int | min(int int1, int int2) min return int1 < int2 ? int1 : int2; |
int | min(int num1, int num2, int num3) min int min = num1; if (num2 < min) { min = num2; if (num3 < min) { return num3; return min; ... |
int | min(int number1, int number2) min return number1 < number2 ? number1 : number2;
|
int | min(int one, int two, int three) min int min = one; if (two < min) { min = two; if (three < min) { min = three; return min; ... |
int | min(int value, int min) min if (min <= value) return value; throw new IllegalArgumentException(value + " must not be smaller than " + min); |
int | min(int x, int x2, int x3) min return x < x2 ? (x < x3 ? x : x3) : (x2 < x3 ? x2 : x3);
|
int | min(int x, int y) min return ((x < y) ? x : y);
|