SyntaxFix
Write A Post
Hire A Developer
Questions
Both MultiMap or MultiKeyMap from Commons or Guava will work.
However, a quick and simple solution could be to extend Map class buy handling a composite key yourself, considering that keys are of primitive type.