List of utility methods to do Number Min Value
double | min(double a, double b) min return a < b ? a : b;
|
double | min(double a, double b, boolean backward) min return backward ? Math.max(a, b) : Math.min(a, b);
|
double | min(double a, double b, double c, double d) Return smallest of four numbers. return Math.min(Math.min(a, b), Math.min(c, d));
|
double | min(double d1, double d2) min return d1 < d2 ? d1 : d2;
|
Double | min(Double first, Double second) min Double firstNotNull = first; Double secondNotNull = second; if (firstNotNull == null) { firstNotNull = 0d; if (secondNotNull == null) { secondNotNull = 0d; return Math.min(firstNotNull, secondNotNull); |
double | min(double one, double two) min return Math.min(one, two);
|
double | min(double v1, double v2, double v3, double v4) min double min = v1; if (v2 < min) min = v2; if (v3 < min) min = v3; if (v4 < min) min = v4; return min; ... |
double | min(double x, double y) Returns the smaller of two double values, but treats NaN as the greatest possible value. return Double.isNaN(x) ? y : Double.isNaN(y) ? x : Math.min(x, y);
|
float | min(final float a, final float b) min return a < b ? a : b;
|
float | min(final float a, final float b) min return a < b ? a : b;
|