com.dooapp.gaedo.finders.collections.NotEvaluator Maven / Gradle / Ivy
package com.dooapp.gaedo.finders.collections;
/**
* Reverse evaluator. This evaluator simply inverst result of contained evaluator
* @author ndx
*
*/
class NotEvaluator implements Evaluator {
/**
* Inner evaluator, which result will be reverted
*/
public Evaluator inner;
public void add(Evaluator e) {
inner=e;
}
public boolean matches(DataType element) {
return !inner.matches(element);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy