Search:

Type: Posts; User: Junky

Search: Search took 0.14 seconds.

  1. Replies
    14
    Views
    1,147

    Re: I/O Help with Collections/Ordering?

    Try it an see.

    However, the get method presumably would retrieve something from the list. So what is the point if you already have it stored in the idnums variable?
  2. Replies
    14
    Views
    1,147

    Re: I/O Help with Collections/Ordering?

    That is exactly what I am saying. Read your code carefully. Look at the input and output files. They are exactly the same. Doesn't that ring bells? What your code does is read a line of text,...
  3. Replies
    14
    Views
    1,147

    Re: I/O Help with Collections/Ordering?

    Why have you declared a Scanner and 2 BufferedReaders? Especially when you don't even use the second BufferedReader. Why do you read the file twice? That's a waste of time and resources. Read the...
Results 1 to 3 of 3