code: public Scanner useRadix(int radix) {
          if ((radix < Character.MIN_RADIX) || (radix > Character.MAX_RADIX))
              throw new IllegalArgumentException("radix:"+radix);
  
          if (this.defaultRadix == radix)
              return this;
          this.defaultRadix = radix;
          // Force rebuilding and recompilation of radix dependent patterns
          integerPattern = null;
          return this;
      }
docs: Sets this scanner's default radix to the specified radix.
  
  <p>A scanner's radix affects elements of its default
  number matching regular expressions; see
  <a href= "#localized-numbers">localized numbers</a> above.
  
  <p>If the radix is less than <code>Character.MIN_RADIX</code>
  or greater than <code>Character.MAX_RADIX</code>, then an
  <code>IllegalArgumentException</code> is thrown.
  
  <p>Invoking the {@link #reset} method will set the scanner's radix to
  <code>10</code>.
  
  @param radix The radix to use when scanning numbers
  @return this scanner
  @throws IllegalArgumentException if radix is out of range