在一个静态初始化块中,在加载类时执行。
In a static initializer block, which executes when the class is loaded.
有关操作、引用以及基本属性的元数据在一个静态初始程序块中被初始化,如清单3所示。
Metadata about operations, references, and basic attributes are initialized in a static block initializer, as shown in Listing 3.
由于会反复调用该类,因此应将初始化WebSphereTXAPI的代码移动到一个静态块中
Since this class will be invoked repeatedly, move the code that initializes the WebSphere TX API into a static block
作者提出了一种任务控制块静态初始化的方法,和一种动态分配片内存储空间的方法,来解决单片机资源紧张的问题。
The author issues a method of statically initializing task control blocks, and a method of sharing on-chip memory dynamically, in order to save the insufficient resource on micro-controllers.
作者提出了一种任务控制块静态初始化的方法,和一种动态分配片内存储空间的方法,来解决单片机资源紧张的问题。
The author issues a method of statically initializing task control blocks, and a method of sharing on-chip memory dynamically, in order to save the insufficient resource on micro-controllers.
应用推荐