
org.unlaxer.tinyexpression.Source 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.util.Optional;
import org.unlaxer.tinyexpression.loader.model.FormulaInfo;
public class Source{
final String source;
final FormulaInfo formulaInfo;
public Source(String source, FormulaInfo formulaInfo) {
super();
this.source = source;
this.formulaInfo = formulaInfo;
}
public Source(String source) {
super();
this.source = source;
this.formulaInfo = null;
}
public String source() {
return source;
}
public Optional formulaInfo() {
return Optional.ofNullable(formulaInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy