阅读背景:

我如何在Scala中获得类型删除?或者,为什么我不能得到集合的类型参数?

来源:互联网 

It's a sad fact of life on Scala that if you instantiate a List[Int], you can verify that your instance is a List, and you can verify that any individual element of it is an Int, but not that it is a List[Int], as can be easily verified:It's a sad fact of life on Scala that if you in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: