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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final org.hamcrest.Matcher<Coordinate>
Creates aMatcher
that corresponds to the given operation andCoordinate
.Methods inherited from class ru.ewc.decita.conditions.BinaryCondition
evaluate, isEvaluated, isSatisfied, rightPart
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:BinaryCondition
Creates aMatcher
that corresponds to the given operation andCoordinate
.- Specified by:
comparisonFor
in classBinaryCondition
- Returns:
- The
Matcher
to use in thisCondition
.
-