Package org.openl.rules.util
Class Product
- java.lang.Object
-
- org.openl.rules.util.Product
-
public final class Product extends Object
Product functions for different types of numbers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Doubleproduct(Double... values)Returns the product of values.static Longproduct(Long... values)Returns the product of values.static BigDecimalproduct(BigDecimal... values)Returns the product of values.static BigIntegerproduct(BigInteger... values)Returns the product of values.static <T extends Number>
Doubleproduct(T... values)Returns the product of values.
-
-
-
Method Detail
-
product
public static <T extends Number> Double product(T... values)
Returns the product of values.
-
product
public static BigDecimal product(BigDecimal... values)
Returns the product of values.
-
product
public static BigInteger product(BigInteger... values)
Returns the product of values.
-
-