I have a problem with bounded nested wildcards in Java generics.
Here\'s a common case:
public void doSomething(Set extends Number> set) {}
So the problem is, doSomething could be implemented as:
doSomething
public void doSomething(Map> map) { Set set = ...; map.put("xyz", set); }
You need to decide what you actually mean.
Probably something like:
public void doSomething(Map> map) {}