All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bpodgursky.jbool_expressions.eval.EvalNot Maven / Gradle / Ivy

There is a newer version: 8.1.2
Show newest version
package com.bpodgursky.jbool_expressions.eval;

import com.bpodgursky.jbool_expressions.Expression;
import com.bpodgursky.jbool_expressions.Not;

import java.util.Map;

public class EvalNot extends EvalRule {
  @Override
  public boolean evaluate(Expression expression, Map> rules) {
    Not not = (Not) expression;
    return !evaluateInternal(not.getE(), rules);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy