I am trying to use a HashMap to map a unique string to a string ArrayList like this:
HashMap>
Basical
Here is the general solution if you really only want the first key's value
Object firstKey = myHashMap.keySet().toArray()[0]; Object valueForFirstKey = myHashMap.get(firstKey);