Search:

Type: Posts; User: pbrockway2

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    4,250

    Re: Reuse same Scanner to read another file

    No. It resets state like the what counts as delimiter between the ints (which you are not using). But it doesn't affect the position of the scanner within the stream. So if you reset() then keep...
  2. Replies
    6
    Views
    4,250

    Re: Reuse same Scanner to read another file

    In fact reset() is true to label and "discards all of its explicit state information". So not just radix, but locale and delimeter pattern are zapped.

    Don't use reset() unless you really mean...
Results 1 to 2 of 2