Fix var type inference2

Giving it another try.
this looks like you're trying to implement a multimap to me. Can't you just use the multimap class in one of the collections libraries we have (either guava or apache collections 4.0)?