I want to store certain objects in a HashMap. The problem is, usually you just use a single object as a key. (You can, for example, use a String.) What I want to do it to us
I tend to use a list
map.put(Arrays.asList(keyClass, keyString), value)