I am trying to see if I can use to implement a Map that can accept two different Classes using generics like the one specified in Java Generics Wildcarding With Multiple Classes
I tried
public class LocalizedStringMap extends ConcurrentHashMap<Locale & String, String> {
But that came up as a syntax error. The closest thing I can do is just make a separate method that will getByLocale()
instead.