com.dooapp.gaedo.finders.collections.NotEvaluator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gaedo-collections Show documentation
Show all versions of gaedo-collections Show documentation
Contains the collections implementation, and only depend upon gaedo-definition
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