Validates that the specified argument is not Not-a-Number (NaN); otherwise throwing an exception. Validate.notNaN(myDouble); The message of the exception is "The validated value is not a number". @param value the value to validate. @throws IllegalArgumentException if
(final double value)
| 1001 | * @since 3.5 |
| 1002 | */ |
| 1003 | public static void notNaN(final double value) { |
| 1004 | notNaN(value, DEFAULT_NOT_NAN_EX_MESSAGE); |
| 1005 | } |
| 1006 | |
| 1007 | /** |
| 1008 | * Validates that the specified argument is not Not-a-Number (NaN); otherwise |