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

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

    youdao

  • Code Listing 2 shows the class implementation.

    代码列表2显示了这个执行

    youdao

  • Intents, like activities, are a special class of application code that describe and define what an application wants done.

    目的与活动一样应用程序代码中的一个特殊定义应用程序事情

    youdao

  • Because only skeleton code is generated, you must next provide concrete implementation code for each class.

    因为生成了框架代码接下来必须每个提供具体实现代码。

    youdao

  • This is, to me, especially troubling since the tools we use let them reverse-engineer a class diagram from their code.

    自从我们使用了能够将代码反向工程成为工具以后,一点就令尤为困扰

    youdao

  • Listing 2 shows the code for the database wrapper class.

    清单2显示了这个数据库封装代码

    youdao

  • The largest variety of refactorings are those that reorganize code within a class.

    最大一类重构实现了类内部代码重组的重构方法。

    youdao

  • This makes it possible to entirely decouple the caller from the implementation class, which makes your code much more flexible.

    使得调用者实现完全分离成为可能从而使代码更加灵活

    youdao

  • Create an extension to the framework code building class, with which you can customize the generated code.

    框架代码构建创建扩展利用此种扩展可以定制产生的代码。

    youdao

  • Listing 9 shows the complete action class code, not just the segment that changes the project description, so we can learn about some utility methods created for the second revision of the plugin.

    清单9显示完整操作代码只是改变项目描述片断这样我们可以学习第二插件创建一些实用方法

    youdao

  • Inheritance allows you to reuse and customize existing code inside a new class.

    继承允许新的重用自定义现有代码

    youdao

  • Another approach would be to create a factory class for instantiating the implementations, but there would still be a dependency to the implementation class in your code.

    另一种方法创建用于实例实现工厂但是的代码仍然存在实现类的依赖

    youdao

  • This class will contain all code that deals directly with HSQLDB, keeping the contributed extensions code simple.

    这个包含所有直接处理HSQLDB代码,并使分配扩展代码保持简单

    youdao

  • To implement this listener class, we'll code an anonymous class in the main Explorer Window.

    为了实现侦听器我们资源管理器窗口编码一个匿名类。

    youdao

  • Then modify the class as code Listing 1 shows.

    然后编辑代码列表1 所示。

    youdao

  • The generated custom code utilizes a super class model, as shown in the standard generated custom code in Listing 4.

    生成定制代码使用一个模型清单4标准生成的定制代码所

    youdao

  • However, it does not automatically create a skeleton code class that can be used to test the client, and it does not create a sample application.

    然而并不自动创建可以用来测试客户机骨架程序代码也不创建样本应用程序

    youdao

  • This has the added benefit of separating singleton code from the class code leaving the flexibility to use several instances of the class or using the class as a singleton.

    这样分离例结构代码有利于保持按单例模式使用不按单例模式使用类的灵活性

    youdao

  • In the interest of brevity, we've omitted the code for that class.

    为简便起见我们省略那个代码

    youdao

  • You obtain a new instance of this class by using the code shown in Listing 11.

    使用清单11代码获取这个实例

    youdao

  • A class can't be loaded until the executing code makes a reference to that class.

    只有在执行代码引用的时候加载该类。

    youdao

  • To do this using AspectJ, you must compile your class and aspect code with the ajc compiler.

    使用AspectJ 完成这个操作,必须使用ajc编译器来编译Aspect代码

    youdao

  • Then, code the MyPlugin class, as shown in Listing 13.

    接下来编写 MyPlugin代码如 清单13

    youdao

  • Cheetah generates a custom Python class that implements code for merging the template definition with dynamic data.

    Cheetah生成了一个定制python该类实现代码合并模板定义动态数据

    youdao

  • Because a class instance's code is not pickled, you can add, change, and remove methods without impacting existing pickled instances.

    由于不能pickle实例代码,因此可以添加更改除去方法不会影响现有的经过pickle的实例

    youdao

  • I use the FileStream class in this code to illustrate operating on data at the byte level.

    使用代码中的filestream说明如何字节级别操作数据

    youdao

  • The following code shows AppContext class.

    以下代码展示了appcontext

    youdao

  • The controller class contains the code the Web service makes available to a client.

    控制器包含用于客户机Web服务代码

    youdao

  • Modify your provider class to resemble the code in Listing 4.

    编辑provider代码列表4所示代码类似

    youdao

  • To create a database row, you create an instance of the corresponding class with the code.

    创建数据库创建对应实例代码如下

    youdao

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

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

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