I'm using the MultiKeyMap from the commons-collections which provide multikey-value pairs. I have 3 keys which are Strings. I have two problems which I don't see how to solve.
How can I iterate over all multikey-value pairs? With a simple HashMap I know it.
Second, how can I get all multikey-value pairs with the first two keys fixed? That means I would like to get something like this multiKey.get("key1","key2",?);
Where the third key is not specified.
Iteration over key-value for MultiKeyMap is similar to hash map:
For your second request you can write your own method based on the previous iteration.