How to get the actual type of a generic type?

前端 未结 0 1943
粉色の甜心
粉色の甜心 2021-02-15 06:22

There is a class with generic type:

class Action[T]

Create some instances of it, put in a list:

val list = List(new Action[Stri         


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