1 | package com.github.dakusui.pcond.core.fluent.builtins; | |
2 | ||
3 | ||
4 | import com.github.dakusui.pcond.core.fluent.AbstractObjectChecker; | |
5 | import com.github.dakusui.pcond.forms.Predicates; | |
6 | ||
7 | public interface ComparableNumberChecker< | |
8 | V extends ComparableNumberChecker<V, T, N>, | |
9 | T, | |
10 | N extends Number & Comparable<N> | |
11 | > extends AbstractObjectChecker<V, T, N> { | |
12 | default V equalTo(N v) { | |
13 |
1
1. equalTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::equalTo → KILLED |
return checkWithPredicate(Predicates.equalTo(v)); |
14 | } | |
15 | ||
16 | default V lessThan(N v) { | |
17 |
1
1. lessThan : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThan → KILLED |
return checkWithPredicate(Predicates.lessThan(v)); |
18 | } | |
19 | ||
20 | default V lessThanOrEqualTo(N v) { | |
21 |
1
1. lessThanOrEqualTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThanOrEqualTo → KILLED |
return checkWithPredicate(Predicates.lessThanOrEqualTo(v)); |
22 | } | |
23 | ||
24 | default V greaterThan(N v) { | |
25 |
1
1. greaterThan : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThan → KILLED |
return checkWithPredicate(Predicates.greaterThan(v)); |
26 | } | |
27 | ||
28 | default V greaterThanOrEqualTo(N v) { | |
29 |
1
1. greaterThanOrEqualTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThanOrEqualTo → KILLED |
return checkWithPredicate(Predicates.greaterThanOrEqualTo(v)); |
30 | } | |
31 | } | |
Mutations | ||
13 |
1.1 |
|
17 |
1.1 |
|
21 |
1.1 |
|
25 |
1.1 |
|
29 |
1.1 |