A decorator like this is definitely the preferred solution. Its been
suggested before, but no one has yet had the itch to code it ;-)
Stephen
James Carman wrote:
Upon further thought, why do we even have a class like MultiHashMap?
Couldn't we write a generic MultiMap implementation that wraps ano
Upon further thought, why do we even have a class like MultiHashMap?
Couldn't we write a generic MultiMap implementation that wraps another map
and provides the "multiple" functionality?
public class MapUtils
{
...
public static MultiMap multiMap( Map implementation );
public static MultiMap