List of utility methods to do Number Min Value
String | minimizeWhitespace(String str) minimize Whitespace str = str.trim(); StringBuilder buff = new StringBuilder(); int len = str.length(); boolean lastWasNonWhite = true; for (int i = 0; i < len; ++i) { char c = str.charAt(i); if (Character.isWhitespace(c)) { if (lastWasNonWhite) { ... |
float | minimum(float first, float second) minimum if (first < second) return first; else return second; |
float | Minimum(float x, float y) Returns the minimum of two float values if (x < y) return (x); else return (y); |
int | minimum(int a, int b, int c) minimum return Math.min(Math.min(a, b), c);
|
int | Minimum(int a, int b, int c) Minimum if (a <= b) { if (a <= c) { return a; } else { return c; } else if (b <= c) { return b; ... |
int | minimum(int a, int b, int c) Mininum of three integers return Math.min(Math.min(a, b), c);
|
int | minimum(int a, int b, int c) Get minimum of three values int mi = a; if (b < mi) mi = b; if (c < mi) mi = c; return mi; |
int | minimum(int a, int b, int c) Get mininum of three values. int minValue; minValue = a; if (b < minValue) { minValue = b; if (c < minValue) { minValue = c; return minValue; |
Integer | minimum(Integer one, Integer two) Returns the minimum of the two input integers taking null into account. if (one == null) { return two; } else if (two == null) { return one; } else if (one < two) { return one; } else { return two; ... |
long | minimum(long a, long b, long c) Gets the minimum of three if (b < a) { a = b; if (c < a) { a = c; return a; |