For a generic nested class , use the mangled name that is , append a grave accent and the number of generic parameters 对于泛型嵌套类,使用改变后的名称-即末尾附加了抑音符和泛型参数的数目。
Method is called on the nested class , which uses the packaged task and iterator references to reschedule the next execution of the task 方法,它使用包装的任务和迭代器引用以便重新计划任务的下一次执行。
In contrast , when you define an enumeration or structure , or a nested class or interface , it is necessary to include their data members 相反,在定义枚举、结构或嵌套的类或接口时,必须包括它们的数据成员。
Conversely , when you apply declarative security to nested classes or methods of a nested class , it does not propagate to the parent classes either 反过来,当将声明式安全应用于嵌套类或嵌套类的方法时,它也不会传播到父类。
Netrexx does not allow inner that is , nested classes , but it creates the same effect by supporting multiple classes per source file and declaring a class as a Netrexx不允许内部类(即嵌套类) ,但是它支持在一个源文件中编写多个类,并把一个类声明为另一个父类的
Is not required to include the type parameters of its enclosing types ; however , if it does not then the type parameters are not in scope in the nested class 定义的嵌套类型不被要求包括其封闭类型的类型参数;但是如果未包括,则这些类型参数也就不在嵌套类的范围中。
If a class has one or more private constructors and no public constructors , then other classes except nested classes are not allowed to create instances of this class 如果类具有一个或多个私有构造函数而没有公共构造函数,则不允许其他类(除了嵌套类)创建该类的实例。
The rescheduling process repeats indefinitely , constructing a new nested class instance for each scheduled execution , until the task or the scheduler is cancelled or the jvm shuts down 重新计划过程反复重复,为每次计划执行构造一个新的嵌入类实例,直到任务或者调度程序被取消(或者jvm关闭) 。
If a class is needed for a particular function that is called on a periodic basis , it is possible to construct a nested class with the sole task of periodic invocation of the required method 如果定期被调用的的一个特定方法需要一个类,就可以构造一个嵌套类,此嵌套类的唯一任务就是定期调用所需的方法。
All compilers that support the common language runtime emit the simple name of a nested class , and reflection constructs a mangled name when queried , in accordance with the following conventions 所有支持公共语言运行库的编译器将发出嵌套类的简单名称,并且在接受查询时,反射将依照下列约定构造一个重整名称。