enclosing g type 封闭类型
The enclosing type is then itself abstract.
包含它的类型于是也是一个抽象类型。
Referring to enclosing type parameters inside static methods and static inner classes is prohibited outright by the compiler. So, for instance, the following code is illegal in tiger.
编译器完全禁止在静态方法和静态内部类中引用封闭类型参数。
Properties, fields, and constructors cannot be more generic than the enclosing type.
属性、字段和构造函数不能比封闭类型更具一般性。
应用推荐