Package org.evrete.api
Interface LogicallyComparable
- All Known Subinterfaces:
Evaluator
public interface LogicallyComparable
-
Field Summary
Fields Modifier and Type Field Description static intRELATION_EQUALSstatic intRELATION_INVERSEstatic intRELATION_NONE -
Method Summary
Modifier and Type Method Description intcompare(LogicallyComparable other)
-
Field Details
-
RELATION_NONE
static final int RELATION_NONE- See Also:
- Constant Field Values
-
RELATION_EQUALS
static final int RELATION_EQUALS- See Also:
- Constant Field Values
-
RELATION_INVERSE
static final int RELATION_INVERSE- See Also:
- Constant Field Values
-
-
Method Details
-
compare
- Parameters:
other- predicate- Returns:
- positive integer (>0) if predicates are logically the same, negative integer (<0) if predicates are logically inverted (like a == 2 and a != 2) zero (0) if there is no knowledge about the two or if they are independent
-