private static final boolean checkUInt ( String s ) { // Note: Because there is no Unsigned class in Java, use Long instead. try { long val = Long . parseLong ( s ) ; if ( DebugValueChecking ) { DAPNode . log . debug ( "Attribute.checkUInt() - string: '" + s + "' value: " + val ) ; } if ( val > 0xFFFFFFFF L ) return false ; else return true ; } catch ( NumberFormatException e ) { return false ; } }
Check if string is a valid UInt32 .