Home | History | Annotate | Download | only in util

Lines Matching refs:valueName

281      * @param valueName the name of the argument to use if the check fails
287 public static float checkArgumentFinite(final float value, final String valueName) {
289 throw new IllegalArgumentException(valueName + " must not be NaN");
291 throw new IllegalArgumentException(valueName + " must not be infinite");
306 * @param valueName the name of the argument to use if the check fails
313 String valueName) {
315 throw new IllegalArgumentException(valueName + " must not be NaN");
319 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper));
323 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper));
335 * @param valueName the name of the argument to use if the check fails
342 String valueName) {
346 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper));
350 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper));
362 * @param valueName the name of the argument to use if the check fails
369 String valueName) {
373 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper));
377 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper));
387 * @param valueName the name of the argument to use if the check fails
393 public static <T> T[] checkArrayElementsNotNull(final T[] value, final String valueName) {
395 throw new NullPointerException(valueName + " must not be null");
401 String.format("%s[%d] must not be null", valueName, i));
413 * @param valueName the name of the argument to use if the check fails
420 final C value, final String valueName) {
422 throw new NullPointerException(valueName + " must not be null");
429 String.format("%s[%d] must not be null", valueName, ctr));
441 * @param valueName the name of the argument to use if the check fails.
449 final String valueName) {
451 throw new NullPointerException(valueName + " must not be null");
454 throw new IllegalArgumentException(valueName + " is empty");
468 * @param valueName the name of the argument to use if the check fails
476 String valueName) {
477 checkNotNull(value, valueName + " must not be null");
483 throw new IllegalArgumentException(valueName + "[" + i + "] must not be NaN");
487 valueName, i, lower, upper));
491 valueName, i, lower, upper));
504 * @param valueName the name of the argument to use if the check fails
512 String valueName) {
513 checkNotNull(value, valueName + " must not be null");
521 valueName, i, lower, upper));
525 valueName, i, lower, upper));