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

com.bpodgursky.jbool_expressions.rules.Rule Maven / Gradle / Ivy

There is a newer version: 8.1.2
Show newest version
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