How to get the erased type of a type parameter inside a class

后端 未结 0 1879
没有蜡笔的小新
没有蜡笔的小新 2020-12-09 23:54

I know that, during runtime type parameters will be erased and hence we cannot access it directly. That\'s why there are reified type parameters in kotlin. But its usage is

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