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
The newest version!
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<>();
}
}