用工厂方法替换构造函数。
Convert Property to Auto-Property Introduce Field Replace Constructor with Factory method.
注:PUT方法替换整个产品实体。
在默认源代码中使用类路径的地方,可以用查询类文件的其他路径或者其他访问类信息的方法替换。
You can substitute other paths for looking up class files, or other ways of accessing class information, in place of the default source that USES the classpath.
对于我来说唯一有意义的事情是识别什么时候一个方法开始衰减,并用一个没有衰减的方法替换它。
The only thing that makes sense to me is to identify when a method is starting to decay and replace it with one that isn't.
只要用要调用的方法替换 classname_function ,并用方法应该操作的对象指针替换object 。
Simply replace classname_function with the method to be called, and replace object with the object pointer upon which the method should operate.
这些方法都是添加或替换数据。
将分析方法的内容替换为如代码清单6所示的代码片段。
Replace the contents of the analyze method with the code snippet in Listing 6.
这样做最容易的方法就是替换邮件模板的设计。
The easiest way to do this is to replace the design of your mail template.
当您在实施一个界面时,您的方法必须替换界面的所有方法。
When implementing an interface, your method must override all methods of the interface.
有时候,系统管理员希望实施不同的安全策略,这时就可能需要修改或替换身份验证方法。
At times, the authentication methodologies may need modification or replacement when system administrators want to enforce different security policies.
这个字符表示是否有替换的访问方法应用到文件。
This character specifies whether an alternate access method applies to the file.
下面讨论避免这两种替换字符陷阱的方法。
Ways to avoid both of these substitution character pitfalls are discussed below.
为此,要把方法签名中的值对象替换成接口。
You do this by replacing the value objects in the method signatures with interfaces.
SPARQL是另一种查询方法,不一定要立即替换SQL。
SPARQL is an additional method of querying, not necessarily an immediate replacement of SQL.
然后它用含有对经过重命名的原方法的调用的计时代码替换拷贝方法的正文。
It then replaces the body of the copied method with timing code wrapping a call to the renamed original method.
本文将寻找避免替换字符的方法。
This article looks at ways of avoiding substitution characters.
最简单的方法是用SSD替换所有常规硬盘驱动器并移动所有对象和数据。
The easiest approach would be simply to replace all regular disk drives with SSDs and move over all objects and data.
当是一个可打印字符时,就有替换方法。
When it is a printing character, then there is such a method.
当跟随文件模式位的字符是空格时,就表示没有替换访问方法。
When the character following the file mode bits is a space, there is no alternate access method.
通过重载这个方法,您可以替换在lookandfeel中用到的任何标准图像。
Overloading this method allows you to replace any standard image used in the look and feel.
当然,在替换一个单个字母时,Groovy提供了一个更加简洁的替换方法。
Of course in the case of replacing a single letter, Groovy offers a more concise replace method.
如果您正在创建定制布局,那么需要在调用 super.updateDisplayList() 之后覆盖该方法,然后替换为希望使用的逻辑。
You need to override this method after calling super.updateDisplayList() if you're creating a custom layout, and then substitute the desired logic.
此helper方法只替换具有应用程序路径值的字符串中的所有~实例。
This helper method simply replaces any instances of ~ in the string with the value of the application's path.
ServletRequestAttributeListener中包含的方法在添加、删除或替换某个请求对象的属性时获得控制权。
ServletRequestAttributeListener, which contains methods that gain control whenever an attribute of the request object is added, deleted, or replaced.
找到匹配后,就用使用实际的TranslateEditor应用程序类中reverse方法调用的结果来替换原来的存储。
When I find a match, I replace the original store with one that USES the result of a call to the reverse method within the actual TranslateEditor application class.
为了演示这个框架的使用方法,我把main 替换为清单 2中的代码,从而重新对 清单1 中的代码进行基准测试
As a quick application of the framework, I'll rebenchmark the code in Listing 1 by replacing main with the code in Listing 2
使用以下代码替换生成的方法
该方法可用于把一个节点替换为另一个节点。
This allows you to replace one node with another. Consider again the steps you took.
l防腐剂类型和替换方法必须始终包含在货物运输和长期储存程序中。
Preservation type and method of removal must always be included with all commodity.
例如,PHP有一个bind _ param方法可以用来正确地替换用户数据。
For example, PHP has a bind_param method for correctly substituting user data.
应用推荐