Search:

Type: Posts; User: curmudgeon

Search: Search took 0.09 seconds.

  1. Thread: Hashmap

    by curmudgeon
    Replies
    6
    Views
    1,757

    Re: Hashmap

    Please if you cross-post your question, tell all threads about the cross-post. Not informing us is not being fair to us as you then force us to duplicate answers that have already been given. We are...
  2. Thread: Hashmap

    by curmudgeon
    Replies
    6
    Views
    1,757

    Re: Hashmap

    Either a for loop (you know the size of the ArrayList, of course), or a for-each loop would work well here.
  3. Thread: Hashmap

    by curmudgeon
    Replies
    6
    Views
    1,757

    Re: Hashmap

    Nested for loops come to mind:
    1 for loop to iterate through the Map
    the inner one to iterate through each ArrayList.

    Inside the nested for loop fill up another Map<String, Integer> to associate...
Results 1 to 3 of 4