Searched refs:IsOdd (Results 1 – 6 of 6) sorted by relevance
64 bool IsOdd(int n) { in IsOdd() function69 return !IsOdd(n); in IsEven()
98 bool IsOdd(int n);
56 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest66 return obj instanceof IsOdd; in equals()79 private static IsOdd isOdd() { in isOdd()80 return new IsOdd(); in isOdd()
61 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest71 return obj instanceof IsOdd; in equals()84 private static IsOdd isOdd() { in isOdd()85 return new IsOdd(); in isOdd()
685 MATCHER(IsOdd, "") { return (arg % 2) != 0; }689 Matcher<int> m = matcher_test::IsOdd(); in TEST()696 return Value(arg, matcher_test::IsOdd()) && arg > 0;
820 MATCHER(IsOdd, "") { return (arg % 2) != 0; }824 Matcher<int> m = matcher_test::IsOdd(); in TEST()831 return Value(arg, matcher_test::IsOdd()) && arg > 0;