12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
-
-
- /**
- * Created by dan on 6/14/17.
- */
- public class PredicateUtilities {
- /**
- * @param x
- * @param y
- * @return true if `x` is greater than `y`
- */
- public Boolean isGreaterThan(int x, int y) {
- Boolean z = x > y ? true : false;
- return z;
- }
-
- /**
- * @param x
- * @param y
- * @return true if `x` is less than `y`
- */
- public Boolean isLessThan(int x, int y) {
- Boolean z = x < y ? true : false;
- return z;
- }
-
- /**
- * @param x
- * @param y
- * @return true if `x` is greater than or equal to `y`
- */
- public Boolean isGreaterThanOrEqualTo(int x, int y) {
- Boolean z = x >= y ? true : false;
- return z;
- }
-
- /**
- * @param x
- * @param y
- * @return true if `x` is less than or equal to `y`
- */
- public Boolean isLessThanOrEqualTo(int x, int y) {
- Boolean z = x <= y ? true : false;
- return z;
- }
- }
|