com.github.obhen233.attribute.Nrule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purslane-engine Show documentation
Show all versions of purslane-engine Show documentation
A rule engine,easy to expand,and easy to use.
The newest version!
package com.github.obhen233.attribute;
//NOT the result of T
//对T的执行结果取非
public class Nrule extends Rule{
private Rule T;
public Nrule(Rule T){
this.T = T;
}
@Override
public boolean excute() {
boolean f = T.excute();
return !f;
}
public Rule getRule(){
return T;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy