org.unlaxer.tinyexpression.loader.model.Formula 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.loader.model;
public interface Formula {
public float calc();
public class ImmediateValueFormula implements Formula {
final float value;
public ImmediateValueFormula(float value) {
super();
this.value = value;
}
@Override
public float calc() {
return value;
}
}
}