使用以下代码替换生成的方法
行08到11用字母的语音代码替换单词里的每个字母。
Lines 08 to 11 replace each letter in the word with its phonetic code.
用以下代码替换原来代码中的9 - 11行。
然后,可以用适当的代码替换该样本中的值来检索源文档的值。
Then, you can replace the values in the sample with appropriate code to retrieve the values from the source document.
可以用以下代码替换多个echo语句,UNIX 只需处理一次执行
you could use the following code to replace the multi-echo statement, and UNIX would only need to process a single execution
我们的文件包含预定义的映射,因此需要使用自己的用户代码替换原有的用户代码。
Our file contains predefined mappings, so you need to replace the user codes with your own user codes.
然后它用含有对经过重命名的原方法的调用的计时代码替换拷贝方法的正文。
It then replaces the body of the copied method with timing code wrapping a call to the renamed original method.
此外,我们还将编写不当的代码替换成更优质的代码,从而简化将来对代码库的支持。
Additionally, we made it easier for future support of the code base by removing the poor quality code and replacing it with much better quality code.
一些现有的遗留代码可以组件化,并公开为服务以供新系统使用,直到将遗留代码替换为新组件。
Some of the existing legacy code can be componentized and exposed as services for use by new systems until such time as such legacy code is replaced with new components.
相反,您必须在将现有代码替换为更新代码的地方执行就地更新并维持相同的版本号。
Instead, you must perform an in-place update where you replace the existing code with the updated code and maintain the same version number.
对于Cancel按钮,要删除现有代码并用submit脚本中的最后一行代码替换它。
For the Cancel button, you want to remove the existing code and replace it with the last line from the Submit script.
覆盖答应程序员用新代码替换一个方法的实现。覆盖是具有便利的特点,大多书面向对象程序员乐意使用它。
Overriding allows programmers to replace a method's implementation with new code. Overriding is a handy feature, and most OO programmers make heavy use of it.
但是进行必要的代码矫正和代码替换来将您的脚本成功地移入Linux很费时间,特别是如果您有很多脚本需要迁移。
But doing the necessary code remediations and code substitutions to successfully bring your scripts to Linux can be time consuming, especially if you have many scripts to migrate.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
使用开源代码替换所有非开源代码包括libc _ i18n、NFS锁管理器、加密框架部分以及大量关键的驱动程序。
Replacing all the closed code with open source one: libc_i18n, NFS lock manager, portions of crypto framework, many critical drivers.
为了定位需要进行修改的代码,可以搜索getPassword4CMFromCredential,并用下列代码替换相关的代码
To locate the code that needs to be modified, you can search for getPassword4CMFromCredential and replace the related code with the following
例如,如果想要在报表中添加毛利润信息,用如下的代码替换BiProductUnitsSoldReport . xml文件中的首个SQL陈述。
For example, to add gross profit information to the report, replace the first SQL statement in BiProductUnitsSoldReport.xml with the following.
由于要清晰地将用户指引到Renovations支持页面,因此用以下代码替换 <H3class=”boxheader”>之间的HTML 代码:Contactthe RenovationsSupportor 000-000-0000
Because you want to clearly direct users to the Renovations support page, replace the HTML code between <H3 class=”boxheader”> with this code: Contact the Renovations Support or 000-000-0000
十进制字符引用可以在任何XML片段中使用,并且在xml解析期间被实际的代码点替换。
Decimal character references can be used in any XML fragment and is replaced by the actual code point during XML parsing.
将分析方法的内容替换为如代码清单6所示的代码片段。
Replace the contents of the analyze method with the code snippet in Listing 6.
即使之后可以取消(称为还原),但这些更改和取消这些更改的替换代码也都成为项目历史不变的一部分。
Even though they can subsequently be un-done (known as reverting), both the changes and the replacement code that undoes those changes are a permanent part of project history.
您可以按常规的方式调试插件程序代码,但是您也可能需要对代码进行紧急替换。
You can debug your plug-in code as normal, but you can also do hot code replacement as well.
JPDA实现了在运行的应用程序中替换经过修改的代码的功能。
JPDA implements the ability to substitute modified code in a running application.
最后一步是在用户提交的原始内容上执行搜索和替换操作,用对应的HTML嵌入代码或 HTML超链接替换每个URL。
The final step is to perform a search-and-replace operation on the original body content submitted by the user, replacing each URL with either the corresponding HTML embed code or HTML hyperlink.
基于对泛型的了解,你可以发现没有理由不在这段代码里替换类型参数为泛型里典型的'T '。
With an understanding of Generics, you can see that there should be no reason to replace the type arguments in this block of code with the typical 't' found in Generics.
在清单6底部的输出中(为了格式化稍微重新调整了结构),可以看到类型替换代码的作用。
You can see the type substitution code in action in the output at the bottom of Listing 6 (restructured slightly for formatting).
下面清单9 中所示的代码可替换 清单8中的所有代码。
The following code, shown in Listing 9, replaces all the code in Listing 8.
那次,我使用了1.4.1的JVM进行测试,结果发现,生成的代码运行起来可能要比它替换的反射代码更快。
At that time, I tested with a 1.4.1 JVM and found that the generated code could run much faster than the reflection code it replaced.
在这个解决方案中,执行查找的代码被返回模仿对象的代码自动替换。
In this solution, the code that performs the lookup is replaced automatically with code that returns a mock object instead.
不过,与filter不同的是,map通常保留列表的每个元素,使用对每个值应用代码得到的结果替换这些值。
But, unlike filter , a map always keeps every element of a list, replacing each value with the result of evaluating the code on that value.
应用推荐