![JAR search and dependency download from the Maven repository](/logo.png)
com.github.dakusui.lisj.func.math.Add Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcunit Show documentation
Show all versions of jcunit Show documentation
Automated combinatorial testing framework on top of JUnit
package com.github.dakusui.lisj.func.math;
import java.math.BigDecimal;
import com.github.dakusui.lisj.Context;
public class Add extends NumericFunc {
/**
* Serial version UID.
*/
private static final long serialVersionUID = 7188204956641867054L;
@Override
protected BigDecimal bigDecimalsEvaluateLast(Context context, BigDecimal[] evaluatedParams) {
BigDecimal ret = BigDecimal.ZERO;
for (BigDecimal cur :evaluatedParams) {
ret = ret.add(cur);
}
return ret;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy