Lines Matching defs:role
30 static int checkPositive(@Nullable String role, int x) {
32 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
37 static long checkPositive(@Nullable String role, long x) {
39 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
44 static BigInteger checkPositive(@Nullable String role, BigInteger x) {
46 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
51 static int checkNonNegative(@Nullable String role, int x) {
53 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
58 static long checkNonNegative(@Nullable String role, long x) {
60 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
65 static BigInteger checkNonNegative(@Nullable String role, BigInteger x) {
67 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
72 static double checkNonNegative(@Nullable String role, double x) {
74 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");