Parses the specified string as a signed decimal short value. The ASCII character \u002d ('-') is recognized as the minus sign. @param string the string representation of a short value. @return the primitive short value represented by string. @throws NumberFormatException
(String string)
| 184 | * can not be parsed as a short value. |
| 185 | */ |
| 186 | public static short parseShort(String string) throws NumberFormatException { |
| 187 | return parseShort(string, 10); |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Parses the specified string as a signed short value using the specified |