How to get a parametrized collection with reflection by its type?

后端 未结 0 1412
南笙
南笙 2020-12-23 20:19

There is a simple class:

class Foo {
    private Set one = new HashSet<>();
    private Set two = new HashSet<>();
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题