Enclosing type parameters in static members.
静态成员中的封闭类型参数。
The enclosing type is then itself abstract.
包含它的类型于是也是一个抽象类型。
Enclosing type parameters should not be referred to inside static members.
不应在静态成员中引用封闭类型参数。
Properties, fields, and constructors cannot be more generic than the enclosing type.
属性、字段和构造函数不能比封闭类型更具一般性。
You will have a compile-time error something like: "The nested type Person cannot hide an enclosing type".
否则将会导致一个编译时间错误,如 “该嵌套类型Person无法隐藏封闭类型”。
This allows the type parameters of enclosing types to be used in the member definitions of a nested type.
这可让您在巢状型别的成员定义中使用封入型别的型别参数。
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.
编译器完全禁止在静态方法和静态内部类中引用封闭类型参数。
When applied to a type, protected limits visibility to the enclosing package.
当应用于类型时,protected限制其可见性于包含它的package中。
For an anonymous type, the binder has to be aware of its enclosing element; therefore, SOAPElement, that is returned from serialize method, has the same QName as that of the enclosing element.
对于匿名类型,绑定必须知道它的封装元素,因此,序列方法返回的SOAPElement与封装元素具有同样的QName。
This is true even if the enclosing generic type is a closed constructed type.
即使封闭泛型类型为封闭构造类型,也是如此。
A signature can embed a token that identifies the enclosing class or value type.
签名中可以嵌入标识封闭类或值类型的标记。
You can coerce a literal to a particular data type in two ways: by appending a type character to it, or by placing it within enclosing characters.
您可以使用两种方式将常值强制为特定的资料型别:一是附加型别字元,另一则是将它放在封入字元中。
You can coerce a literal to a particular data type in two ways: by appending a type character to it, or by placing it within enclosing characters.
您可以使用两种方式将常值强制为特定的资料型别:一是附加型别字元,另一则是将它放在封入字元中。
应用推荐