code: public Scanner reset() {
          delimPattern = WHITESPACE_PATTERN;
          useLocale(Locale.getDefault(Locale.Category.FORMAT));
          useRadix(10);
          clearCaches();
          return this;
      }
docs: Resets this scanner.
  
  <p> Resetting a scanner discards all of its explicit state
  information which may have been changed by invocations of {@link
  #useDelimiter}, {@link #useLocale}, or {@link #useRadix}.
  
  <p> An invocation of this method of the form
  <tt>scanner.reset()</tt> behaves in exactly the same way as the
  invocation
  
  <blockquote><pre>{@code
  scanner.useDelimiter("\\p{javaWhitespace}+")
  .useLocale(Locale.getDefault(Locale.Category.FORMAT))
  .useRadix(10);
  }</pre></blockquote>
  
  @return this scanner
  
  @since 1.6