Java nested wildcard generic won't compile

前端 未结 3 1639
南旧
南旧 2020-12-07 01:20

I have a problem with bounded nested wildcards in Java generics.

Here\'s a common case:

public void doSomething(Set set) {}
         


        
3条回答
提交回复
热议问题