boolean function ( final String arg0 ) { if ( arg0 == null ) { return false ; } final int loc0 = arg0 . length ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { if ( ( Character . isDigit ( arg0 . charAt ( loc1 ) ) == false ) && ( arg0 . charAt ( loc1 ) != ' ' ) ) { return false ; } } return true ; }
checks if the string contains only unicode digits or space ' ' . a decimal point is not a unicode digit and returns false . null will return false . an empty string '' '' will return true . stringutils.isnumeric null = false stringutils.isnumeric '' '' = true stringutils.isnumeric '' '' = true stringutils.isnumeric `` 123 '' = true stringutils.isnumeric `` 12 3 '' = true stringutils.isnumeric `` ab2c '' = false stringutils.isnumeric `` 12-3 '' = false stringutils.isnumeric `` 12.3 '' = false concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isAlphanumericSpace concode_elem_sep boolean isAlpha concode_elem_sep boolean isNumeric concode_elem_sep boolean isAlphanumeric concode_elem_sep boolean isEmpty concode_elem_sep boolean isNotBlank concode_elem_sep boolean isBlank concode_elem_sep boolean isNotEmpty