Search:

Type: Posts; User: Chloe

Search: Search took 0.19 seconds.

  1. Re: Confused on how to add data from a list into a HashMap

    I believe the values are but the Maps will be created in another class MarathonAdmin and I have tried to use getTime() and getName(), but when I try using it to populate the Map, BlueJ says the...
  2. Re: Confused on how to add data from a list into a HashMap

    Of course. I just realized I am missing an import for the class but otherwise that's the whole Runner class.


    /**
    * Class Runner - Simulates a runner in a Marathon
    *
    *
    */
    public class...
  3. Confused on how to add data from a list into a HashMap

    I am being asked to do the following:
    where the keys are names of runners and the values are their times. The keys should be sorted at all times.

    This method should iterate over*runners,...
Results 1 to 3 of 3