com.bpodgursky.jbool_expressions.eval.EvalAnd Maven / Gradle / Ivy
package com.bpodgursky.jbool_expressions.eval;
import com.bpodgursky.jbool_expressions.And;
import com.bpodgursky.jbool_expressions.Expression;
import java.util.Map;
public class EvalAnd extends EvalRule {
@Override
public boolean evaluate(Expression expression, Map> rules) {
And and = (And) expression;
boolean value = true;
for(Expression e: and.expressions){
value &= evaluateInternal(e, rules);
}
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy