org.unlaxer.tinyexpression.ConcurrentCalculationContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyExpression Show documentation
Show all versions of tinyExpression Show documentation
TinyExpression implemented with Unlaxer
package org.unlaxer.tinyexpression;
import java.math.RoundingMode;
import java.util.Map;
public class ConcurrentCalculationContext extends AbstractCalculationContext{
public ConcurrentCalculationContext() {
super();
}
public ConcurrentCalculationContext(int scale, RoundingMode roundingMode, Angle angle) {
super(scale, roundingMode, angle);
}
@Override
public Map newMap() {
return new NullSafeConcurrentHashMap<>();
}
}