How to return interface from generic class implementing the interface?

前端 未结 0 1352
轮回少年
轮回少年 2020-11-29 02:59

I want to make a method that accepts any class (T) that implements any interface (I), do something with the class and return the interface (I) that it implements. Here\'s wh

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