just FYI, `com.google.common.collect.HashMultimap` will do this stuff for you