Package ru.ewc.decita.conditions
Class GreaterThanCondition
java.lang.Object
ru.ewc.decita.conditions.BinaryCondition
ru.ewc.decita.conditions.GreaterThanCondition
- All Implemented Interfaces:
Condition
I am a simple condition that checks if the left-side value is greater than the right-side value.
- Since:
- 0.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.hamcrest.Matcher<Coordinate>Creates aMatcherthat corresponds to the given operation andCoordinate.Methods inherited from class ru.ewc.decita.conditions.BinaryCondition
evaluate, isEvaluated, isSatisfied, rightPartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.ewc.decita.conditions.Condition
isNotSatisfied
-
Constructor Details
-
GreaterThanCondition
Constructor.- Parameters:
left- Left-sideCoordinate.right- Right-sideCoordinate.
-
-
Method Details
-
comparisonFor
Description copied from class:BinaryConditionCreates aMatcherthat corresponds to the given operation andCoordinate.- Specified by:
comparisonForin classBinaryCondition- Returns:
- The
Matcherto use in thisCondition.
-