Template functions are always specified with fully parameterized types.
模板函数总是用完全参数化的类型指定的。
So, to avoid ambiguities, Scala USES square brackets instead for parameterized types.
所以,为了避免二义性,Scala使用了方括号来声明参数类型。
This is nice, but doesn't really take advantage of another important Tiger feature: generics (sometimes called parameterized types).
这么做很好,但是没有真正利用到Tiger的另一项特性——泛型(有时也叫作参数化类型)。
Syntax error, parameterized types are only available if source level is 5.0.
语法错误,泛型只有在5.0以上的版本才支持。
Parameterized types are also going to be part of Tiburón for both the Win32 and .NET platforms.
对Win32和.NET平台来说,参数化类型也将会成为Tiburón的一部分。
Parameterized types are also going to be part of Tiburón for both the Win32 and .NET platforms.
对Win32和.NET平台来说,参数化类型也将会成为Tiburón的一部分。
应用推荐