List of utility methods to do Number Minus
String | minus(String second, String first) minus try { return String.valueOf(Integer.parseInt(first) - Integer.parseInt(second)); } catch (NumberFormatException e) { try { return String.valueOf(Double.parseDouble(first) - Double.parseDouble(second)); } catch (NumberFormatException e2) { throw new IllegalArgumentException(first + " - " + second); |
int | minus128(int v) minus return (int) (v - 128); |
char | minuscula(char c) minuscula if (c >= 65 && c <= 90) { return (char) (c + 32); } else { return c; |
char | minusculas(char c) Metodo minusculas: Convierte a minusculas el caracter recibido y luego lo retorna return Character.toLowerCase(c);
|
int | minusDayOfWeek(int dow, long days) minus Day Of Week return plusDayOfWeek(dow, -(days % 7));
|
void | minusEquals(double[] w, double v) w[i] = w[i] - v for (int i = 0; i < w.length; i++) { w[i] -= w[i] + v; |
void | minusEquals(int[] vals, int min) minus Equals for (int i = 0; i < vals.length; i++) { vals[i] -= min; |
void | minusEqualsInverse(double[] w, double[] v, double a) v = w - a*v for (int i = 0; i < w.length; i++) { v[i] = w[i] - a * v[i]; |
int | minusExact(final int a, final int b) minus Exact final int diff = a - b; if (((a ^ b) & (a ^ diff)) < 0) { throw new ArithmeticException("integer overflow"); return diff; |
long | minusExact(long a, long b) minus Exact if ((a ^ b) >= 0) { return a - b; } else { long diff = a - b; if ((a ^ diff) < 0) { throw new ArithmeticException("overflow: " + a + "-" + b); } else { return diff; ... |