com.bpodgursky.jbool_expressions.rules.Rule Maven / Gradle / Ivy
package com.bpodgursky.jbool_expressions.rules;
import com.bpodgursky.jbool_expressions.Expression;
public abstract class Rule, K> {
public abstract Expression applyInternal(E input);
public Expression apply(Expression input){
if(isApply(input)){
return applyInternal((E) input);
}
return input;
}
protected abstract boolean isApply(Expression input);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy