com.bpodgursky.jbool_expressions.eval.EvalLiteral Maven / Gradle / Ivy
package com.bpodgursky.jbool_expressions.eval;
import com.bpodgursky.jbool_expressions.Expression;
import com.bpodgursky.jbool_expressions.Literal;
import java.util.Map;
public class EvalLiteral extends EvalRule {
@Override
public boolean evaluate(Expression expression, Map> rules) {
Literal literal = (Literal) expression;
return literal.getValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy