• The platform calls this class to perform initialization and cleanup.

    平台调用这个执行初始化清理工作

    youdao

  • To do this, add an instance of the offline service helper and an initialization method to the class you created previously as shown in listing 2.

    实现目的,可以向之前所创建添加离线服务帮助器实例一个初始化方法如清单2所

    youdao

  • This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code.

    这种重构会改进代码因为我们初始化逻辑对象的构造函数分离出来了。

    youdao

  • This function usually performs some initialization routines such as setting default values of class properties.

    函数通常执行一些初始化例行程序比如设置属性默认

    youdao

  • Another solution is to move that field to a separate class, where the construction process can guarantee that the correct initialization data is supplied by the user.

    另外一个解决方案这个字段转移单独类中这样构造过程可以保证用户可以提供正确初始化数据

    youdao

  • Manage the JSP class lifecycle, from initialization to destruction.

    管理jsp生命周期初始化破坏

    youdao

  • Since there is no way to know when this class will be referenced and since it has no explicit initialization methods, this appears legitimate.

    由于没有办法可以知道这个什么时候引用并且因为没有显式初始化方法这样做看起来是合法的。

    youdao

  • You feel that a custom metaclasses is overkill for the simple job of class initialization, and you would rather use a simpler solution.

    觉得对于初始化简单工作使用自定义杀鸡用牛刀所以想要使用一种更为简单解决方案

    youdao

  • Next is the class loader cache initialization.

    下一步装载器缓存初始化

    youdao

  • Three required attributes for a rule are: 1 fully qualified name, 2 implementation class, and 3 initialization properties.

    规则三个必要属性1完整限定2实现3初始化属性。

    youdao

  • Now notice that this initialization script not only imports the class in order to make it accessible to other parts of Zope, it also registers it for "addability".

    现在注意这个初始化脚本不仅导入那个使可被Zope其它部件访问,而且将该类注册成具有“可添加性”。

    youdao

  • The initialization code in Listing 2 is part of a class that uses setter injection for DI.

    清单2中的初始化代码一个一部分,它使用setter注入进行DI

    youdao

  • In Listing 9, the BrowserModel class performs its initialization within the init method.

    清单9中,browsermodelinit方法中执行自己的初始化

    youdao

  • By deferring construction and initialization to the Appointment class, I make it easier to separate additional wrapping behavior (such as persistence).

    通过延迟appointment构建初始化,简化附加包装行为(比如持久性)的分离

    youdao

  • With all this machinery defined, customizing class initialization becomes rather straightforward, and elegant looking. It might be something as simple as

    使用所有这些定义的方法,自定义初始化将变得更加简单和美观

    youdao

  • Reduce class loading during plug-in initialization.

    减少插件初始加载的数量。

    youdao

  • Class initialization Any type of regular or real-time thread can initialize a class, including a NHRT, which can cause unexpected MemoryAccessError.

    初始任何类型常规实时线程都可以初始化类,包括NHRT(可能导致意外的MemoryAccessError)。

    youdao

  • The com.ibm.lpex.preload extension point allows the LPEX Editor plug-in to record, upon initialization, the class loaders of all declaring client plug-ins.

    preload扩展允许LPEXEditor插件初始化记录所有声明客户机插件加载器

    youdao

  • In case of smaller schema (determined based on the computation of total number of classes, attributes, and so on), the initialization code is generated within the Package class itself.

    较小schema情况下(取决于属性总数估计),初始化代码本身中生成

    youdao

  • Both support the idea of deferred initialization, also known as futures, the former is a class and the later a lightweight and slightly less safe structure.

    这两者都体现了延迟初始特性(因此称为futures)。前者后者则是一个轻量的,但并非“绝对”线程安全结构

    youdao

  • Move the line that initializes account from the test method to setUp , then delete the declaration and initialization from the other test method. Your test class should now look like Listing 8.

    初始account代码测试方法setUp然后删除其它测试方法中的声明初始化。

    youdao

  • If the table doesn't exist, it invokes the database initialization code, ResourcesDatabaseInitializer, which in this example is a utility class that initializes the database.

    如果该表存在,则调用数据库初始代码ResourcesDatabaseInitializer,该代码示例初始化数据库的实用程序

    youdao

  • A generic technique to avoid class-loading delays during the time-sensitive parts of your application is to preload classes during application startup or initialization.

    种在应用程序时间敏感型部分避免加载延迟通用技术,在应用程序启动初始化期间预先加载类。

    youdao

  • Instead of double-checked locking, use the Initialize-on-demand Holder Class idiom, which provides lazy initialization, is thread-safe, and is faster and less confusing than double-checked locking.

    使用双重检查锁定使用Initialize - on - demandHolderClassidiom提供了迟缓初始化,线程安全的,而且双重检查锁定更快且没那么混乱

    youdao

  • There are subtle differences between copy - and direct-initialization when initializing objects of a class type.

    初始类型对象时,复制初始化直接初始化之间差别很微妙的

    youdao

  • For objects of a class type, there are initializations that can be done only using direct-initialization.

    类型对象来说,有些初始能用直接初始化完成

    youdao

  • This method can be implemented in a derived class to customize the initialization of the component that this designer is designing.

    方法可以派生中实现自定义设计器所设计组件初始化

    youdao

  • One possible implementation is to use this method as a hook into your own private class initialization routines that are not already enabled by constructors.

    一个可能的实现方法用作构造函数尚未启用自己的私有初始化例程挂钩

    youdao

  • One possible implementation is to use this method as a hook into your own private class initialization routines that are not already enabled by constructors.

    一个可能的实现方法用作构造函数尚未启用自己的私有初始化例程挂钩

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定