How to get the actual type of a generic type?

前端 未结 0 1577
长发绾君心
长发绾君心 2021-02-15 05:56

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         


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