I\'m using a Multimap that has two values per key. Below is the code I\'m using to get each value separately:
The first bit of code gets the first object value:
If you're using Guava, Iterables#get is probably what you want - it returns the Nth item from any iterable, example:
Multimap myMultimap = ArrayListMultimap.create();
// and to return value from position:
return Iterables.get(myMultimap.get(key), position);
If you're using a ListMultimap then it behaves very much like a map to a List so you can directly call get(n).