How to implement a Map with multiple keys? [duplicate]

Two maps. One Map<K1, V> and one Map<K2, V>. If you must have a single interface, write a wrapper class that implements said methods.

Leave a Comment