Listing 1 shows an example of the implementation code.
清单1显示了实现代码的示例。
It is now time time to look at the implementation code.
现在是看看实现代码的时候了。
Note that implementation code isn't included in these examples.
注意,实现代码并未包含在这些例子中。
The implementation code is written against the generated API code explained above.
实现代码可以针对之前介绍的生成的API代码来编写。
That's not too difficult to do, but the implementation code becomes fairly complex.
这并不太难做到,但是实现代码将变得相当复杂。
These APIs are directly exposed to the implementation code which leads to the following.
这些API直接暴露给实现代码,导致了以下后果。
You'll probably create many files for header and C/C++ implementation code files in this way.
您可能会用这种方法创建许多头文件以及C/C++实现代码文件。
Select the newly created package and click OK again to generate the implementation code (Figure 20).
选择新创建的包并再次单击ok以创建实现代码(图20)。
A code generator pre-processes the interface to generate implementation code for each annotated method.
代码生成器对接口进行预处理,生成每个带注释的方法的实现代码。
The detailed marshalling and unmarshalling implementation code gets added directly to the bound classes.
详细的编排和反编排实现代码被直接添加到绑定类中。
Because only skeleton code is generated, you must next provide concrete implementation code for each class.
因为只生成了框架代码,接下来必须为每个类提供具体的实现代码。
This implementation code prints the name of the user accessing the method and the method name. RUP example.
这个实现代码打印出访问方法的用户的名称和方法名称。
When you use a specific, concrete implementation, your code must change if your implementation code changes.
当您使用一个特定的具体实现时,代码也必须随着实现代码的更改而更改。
Performance, on the other hand, is subject to change over time as the actual implementation code is modified.
另一方面,随着实际实现代码的修改,性能总在发生着变化。
See the plug-in code provided with this article for the detailed implementation code used for the JKE scenario.
有关用于JKE场景的详细实现代码,请参见本文提供的插件代码。
A code generator pre-processes the interface to generate implementation code for each declared, annotated method.
代码生成器预处理接口,为每个已声明的、带有注释的方法生成实现代码。
Listing 6 shows the final portion of the implementation code, which actually adds the toString method to a class.
清单6展示了实现代码的最后部分,它实际上向类添加了toString方法。
In this context, artifacts can be anything, such as a requirement, a design model, implementation code, or a test case.
在此上下文中,构件可以为任意内容,如需求、设计模型、实现代码或测试用例等。
In the EJB implementation code, as a part of exception handling, set the transaction to Rollback, as shown in Figure 11.
在EJB实现代码中,作为异常处理的一部分将事务设置为Rollback,如图11所示。
Does it matter whether the individual writes tests before implementing the code or after the implementation code is written?
个人编写测试是在执行代码之前还是在执行代码被编写之后,这个问题真的很重要吗?
The container loads the implementation code of the service, provides connectivity to the ESB, and manages service instances.
容器加载服务的实现代码,提供到esb的连接性,并管理服务实例。
Before adding implementation code to the resource, create a few classes that provide enough implementation to test the functions.
在向资源添加实现代码前,创建一些新的类来提供足够实现以测试函数。
This allows the web service implementation code to be optimized toward the business logic and to be invoked only for valid requests.
这使Web服务的实现代码能够朝着业务逻辑的方向得到最优化,而且只能通过有效的请求才能被调用。
Their common basis in MDA will also promote partial generation of implementation code, but that code, of course, will not be standardized.
MDA的公共基础也会促进部分代码的生成和实现,当然这些代码不是标准化的。
As long as the process of translating models into implementation code remains primarily manual, MDD will not be able to deliver on its promise.
只要将模型翻译为实现代码的过程仍然主要是手工的,那么MDD将不能按照其诺言实现。
The first step is to do a careful analysis of the implementation code and identify areas where it might be tuned to achieve better performance.
第一步要对实现代码进行仔细的分析,并确定可以对哪些方面进行调整以实现更佳的性能。
System classes, for instance, are not modifiable, while user-defined interface classes can be modified, but can't include actual implementation code.
例如,系统类是不可修改的,而用户定义接口类虽然可以修改,但是不能包含实际的实现代码。
Using different design contract management protocols provides different levels of management and control of the design model and the implementation code.
使用不同的设计合约管理协议,提供管理的水平,并控制设计模型和实现代码。
Metaprogramming offers a great way to differentiate pattern code from implementation code because you express your pattern by using code that is about code.
元程序设计提供一种不错的方式将模式代码与实现代码区分开来,因为您使用关于代码的代码来表达您的模式。
The service implementation code doesn't need to do anything special to make this happen; all you have to do is add the binding to the service's configuration.
而服务的实现不需要做任何特别的改变来促成这个目标,你要做的仅仅是为服务增加一条绑定配置。
应用推荐