/** * Check that the value is non-negative (>=0). * @param value Value * @throws IllegalArgumentException If value is negative (<0) */ public static final void isNonNegative(long value) { isNonNegative(value,null); }
/** * Check that the value is non-negative (>=0). * @param value Value * @throws IllegalArgumentException If value is negative (<0) */ public static final void isNonNegative(int value) { isNonNegative(value,null); }
/** * Check that the value is non-negative (>=0). * @param value Value * @throws IllegalArgumentException If value is negative (<0) */ public static final void isNonNegative(long value) { isNonNegative(value,null); }
/** * Check that the value is non-negative (>=0). * @param value Value * @throws IllegalArgumentException If value is negative (<0) */ public static final void isNonNegative(int value) { isNonNegative(value,null); }