Search:

Type: Posts; User: BTaggar

Search: Search took 0.25 seconds.

  1. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package kettask2pt2;

    import java.util.Scanner;
    import java.io.BufferedReader;
    import...
  2. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    I appreciate you guys helping me understand this, and I apologize for my slow learning here, I will get this eventually! :)

    So in that code I have what I need, however I have way more than I want...
  3. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    The code below I tried, and this is what I got:

    Total properties listed: 7
    Total value of properties listed: $2120000.00

    110001
    110001
    110223
    110001
    110020
  4. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    Good call, I am assuming I can add the information to the array list by using

    ids.add(idnums);

    and call it by using the

    ids.get(idnums)

    is this close?
  5. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    The only reason I have 2 buffered readers and am wasting time and resources is because I came with this code after a lot of trial and error haha, it may seem simple, but to me this is like a foreign...
  6. Replies
    14
    Views
    1,145

    Re: I/O Help with Collections/Ordering?

    The file is a .txt file with the following contents

    110001 commercial 500000.00 101
    110223 residential 100000.00 101
    110020 commercial 1000000.00 107
    110333 land ...
  7. Replies
    14
    Views
    1,145

    I/O Help with Collections/Ordering?

    I am trying to finalize a project in Java, however I am having a hard time getting the Collections.sort to work and sort my output by natural order. Basically I should be getting:

    Total...
Results 1 to 7 of 7