|
@@ -10,7 +10,7 @@ public class PredicateUtilities {
|
10
|
10
|
* @return true if `x` is greater than `y`
|
11
|
11
|
*/
|
12
|
12
|
public Boolean isGreaterThan(int x, int y) {
|
13
|
|
- return null;
|
|
13
|
+ return x>y;
|
14
|
14
|
}
|
15
|
15
|
|
16
|
16
|
/**
|
|
@@ -19,7 +19,7 @@ public class PredicateUtilities {
|
19
|
19
|
* @return true if `x` is less than `y`
|
20
|
20
|
*/
|
21
|
21
|
public Boolean isLessThan(int x, int y) {
|
22
|
|
- return null;
|
|
22
|
+ return x<y;
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
/**
|
|
@@ -28,7 +28,7 @@ public class PredicateUtilities {
|
28
|
28
|
* @return true if `x` is greater than or equal to `y`
|
29
|
29
|
*/
|
30
|
30
|
public Boolean isGreaterThanOrEqualTo(int x, int y) {
|
31
|
|
- return null;
|
|
31
|
+ return x>=y;
|
32
|
32
|
}
|
33
|
33
|
|
34
|
34
|
/**
|
|
@@ -37,6 +37,6 @@ public class PredicateUtilities {
|
37
|
37
|
* @return true if `x` is less than or equal to `y`
|
38
|
38
|
*/
|
39
|
39
|
public Boolean isLessThanOrEqualTo(int x, int y) {
|
40
|
|
- return null;
|
|
40
|
+ return x<=y;
|
41
|
41
|
}
|
42
|
42
|
}
|