相关疑难解决方法(0)

scala中的<:<运算符

任何人都可以<:<在scala中提供有关运算符的一些细节.我认为:

if(apple <:< fruit)  //checks if apple is a subclass of fruit.
Run Code Online (Sandbox Code Playgroud)

还有其他解释吗?我在scala源文件中看到了很多定义.

scala

39
推荐指数
4
解决办法
7189
查看次数

标签 统计

scala ×1