public static int parseUnsignedInt (String s) throws NumberFormatException

Parses the string argument as an unsigned decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII plus sign '+' ( '\u002B'). The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments to the parseUnsignedInt(java.lang.String, int) method.

s    a String containing the unsigned int representation to be parsed

Returns:  the unsigned integer value represented by the argument in decimal.

NumberFormatException    if the string does not contain a parsable unsigned integer.

Since:  1.8