I'm using the HashMap class and it looks like this:
HashMap<String, ArrayList<String>> fileRank = new HashMap<String, ArrayList<String>>();
I'm wondering how to add a new String into the Arraylist after the initial put.
fileRank.put(word, file1);
I would like to add file2 after file1 to the key: word from above.