INNER CODE UNIT · Java
multiply
SeaseLtd/rated-ranking-evaluator · rre-core/src/main/java/io/sease/rre/Calculator.java:48
public static BigDecimal multiply(final BigDecimal... numbers) {
return stream(numbers).reduce(BigDecimal.ONE, BigDecimal::multiply);
}
/**
* Executes a subtraction between the two numbers.
*
* @param minuend the minuend.
* @param subtraend the subtraend.
* @return the result of the subtraction.
*/
public static BigDecimal subtract(final BigDecimal minuend, final BigDecimal subtraend) {
return minuend.subtract(subtraend);
}
/**
* Executes a division between the two numbers.
*