If you must do it, code your override with extreme care.
如果你必须这样做,你小心翼翼的代码重写。
Each object to be serialized can itself contain instances of classes, which this overload can override with other classes.
要序列化的每个对象本身可包含类的实例,该重载可使用其他类重写这些实例。
The preferred language can be set per session, per user, as a site default and you can change it also with a override with a request parameter.
偏好语言可以按会话,用户或作为网站默认来进行设定。你也可以使用一个请求参量进行覆盖从而改变语言设定。
InfoQ: Do you plan to support a hierarchy of error messages - so I have a standard way of displaying a generic error message that I can override with a page/screen specific error message if I want to?
InfoQ:你们打算支持错误消息的层次吗? ——这样,我能用标准的方式显示一个通用的错误消息,如果我愿意,我可以用页面/屏幕特定的错误消息覆盖那个通用的错误消息。
Because act is an abstract method, we don't need to explicitly override it with the override keyword.
因为act是一个抽象方法,我们不需要显式地用override关键字来重写。
The first one, with the name of page_title, allows you to override the value for the header of the page.
第一个的名称是page _ title,允许您重写页眉的值。
You can override all the parameters on the command line, if you want to experiment with the net to discover how it does with various options — each run might take a while, though.
如果打算试验网络从而发现对于这些不同的选项它是如何做的,您可以覆盖命令行中的所有参数,但每一次运行还是会耗费一些时间。
In that way, you could have sensible defaults in a program, but override them with command-line options if you wanted.
这样,在程序中可以有有意义的默认值,但是如果需要,也可以用命令行选项覆盖它们。
Then you can override the styles you choose with your own CSS.
然后,再用您自己的CSS覆盖所选择的个别样式。
In either case, the technique used is to overlap profiles to establish first a default policy of allow-all, and then to override specific queues with tighter restrictions.
无论何种情况,重叠配置文件的技巧都是先建立一个“允许所有”的默认策略,然后再使用更加严格的限制来重叠特定队列。
One would think that explicit knowledge of these well-documented psychological biases and years of experience with them would allow a person to cognitively override the biases.
人们会认为对这些研究得比较清楚的心理学偏见的显性知识和和多年的经验将让一个人认知上克服这些偏见。
So we override that method with an implementation which returns the notification's type and the time at which we received the notification.
因此我们用一个返回通知类型和接收到通知的时间的实现来覆盖那个方法。
Note that the problem with allowing such potentially explosive code is not that programmers could intentionally override the type system in their own code.
请注意允许这种有潜在“爆炸性”的代码存在所带来的问题并不是程序员有意在自己的代码中覆盖类型系统。
With some implementations of the singleton, you allow writers of subclasses to override methods polymorphically, something not possible with static methods.
最后,在单例模式的一些实现方式中,单例类的子类能够动态地重载方法,这是静态方法所不能办到的。
We need a way to override our reasonable defaults with some specific code to handle these situations.
需要一些处理这些情况的特定代码来覆盖合理的缺省值。
If the parameter with the given URI exists in the override table, then the parameter is assigned to the value from the table.
如果带有已知uri的参数存在于重载表中,那么就将表中的值分配给该参数。
Data overlays: the ability to override the byte values contained in a dump with user-defined values and have the UI work with the updated value.
数据覆盖:将包含在转储中的字节值覆盖为用户定义的值,并让UI使用更新后的值。
The name of the property corresponds to the alias name of the promoted property, with the value being the override value for the promoted property.
属性的名称对应于提升属性的别名,它的值等于提升属性的覆盖值。
In this above code, even if the Order or Item class is mapped with an annotation, a separate XML file, or not at all (I would then have to map each field), I can still override it with this XML.
在上面的代码中,即使使用注释、单独的XML文件或不使用任何内容(必须映射每个字段)来映射order或item类,我仍能够使用此XML覆盖它。
You can easily override these defaults with the user_columns method, which has include and exclude options.
可以容易地用user_columns方法覆盖这些默认设置,这个方法中有include和exclude选项。
SupressWarnings, unlike Override and Deprecated, does have a variable — so you use the single-annotation style for working with it.
SupressWarnings与Override和Deprecated不同,是具有变量的—所以您将单一注释类型与该变量一起使用。
But if you do go with fixed sizes, you don't have to override the measure method, and you can even define the width and height when adding the component to its parent.
但是使用了固定大小时,您就不需要覆盖measure方法,甚至可以在将组件添加到其父组件时定义width和height。
Basic (rulesets/basic.xml) -- A grab bag of rules that most developers are unlikely to disagree with: catch blocks shouldn't be empty, override hashCode() anytime you override equals(), etc.
基本(rulesets/basic.xml)——规则的一个基本合集,可能大多数开发人员都不认同它:catch块不该为空,无论何时重写equals(),都要重写hashCode(),等等。
If an operation is declared with a null keyword, then the inheriting class can choose to override the null procedure.
如果某个操作宣布为带有null关键词,那么继承的类就可以选择忽略null程序。
“If the stakes were higher—say, the reward was $100—the emotions associated with that potential gain might override the nervousness or fear associated with cheating,” says Teper.
Teper说,“如果利益更高,比如奖励是100美元,与潜在收益有关的情绪可能会压倒作弊产生的恐惧所引起的焦虑。”
You therefore use jQuery to grab object references to the two links and override their default behavior with click event handlers.
因此要使用jQuery来获取两个链接的对象引用并用click事件处理程序覆盖它们的默认行为。
You can override this default location with the -keepAppDirectory argument which, if overridden, will reinstall the applications to their original location.
您可以使用 -keepAppDirectory 参数覆盖此缺省位置,此时,应用程序将被安装到它们的原始位置。
This entry will override Zero's default port of 8080 with the value 9080; httpd also has a default port of 8080, and we don't want any conflicts between our Zero application and httpd processes.
此条目将使用值 9080覆盖Zero的默认端口 8080;httpd也具有默认端口 8080,而我们不希望在 Zero应用程序和 httpd 进程之间发生任何冲突 。
Streamlined guesses which field to use for the check box, but you can override the guess with an option called view_fields.
Streamlined猜测要把哪个字段用于复选框,但是可以用叫作view_fields的选项覆盖它的猜测。
CURL allows you to override this value with the — header parameter.
cURL允许您使用这个值来覆盖——header参数。
应用推荐