- radix
- the radix used to translate the token into short value.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if this Scanner has been closed. Java.Util.NoSuchElementException if input has been exhausted. Java.Util.InputMismatchException if the next token can not be translated into a valid short value.
Returns the next token as a short with the specified radix. This method will block if input is being read. If the next token can be translated into a short the following is done: All Locale-specific prefixes, group separators, and Locale-specific suffixes are removed. Then non-ASCII digits are mapped into ASCII digits via Java.Lang.Character.Digit(char, System.Int32), and a negative sign (-) is added if the Locale-specific negative prefix or suffix was present. Finally the resulting String is passed to Java.Lang.Short.ParseShort(string, System.Int32)} with the specified radix.