重写应调用基实现来保留此行为。
Overrides should call the base implementation to preserve this behavior.
是否选择调用基实现将取决于您的方案。
Whether you choose to call the base implementation depends on your scenario.
基实现执行大量工作以释放基类已知的资源。
The base implementation does fairly substantial work to free resources that are known to the base class.
始终调用基实现。
实现者始终应在他们自己的实现之前调用基实现。
Implementers should always call the base implementation before their own implementation.
可以根据需要在进行特殊处理之前或之后调用基实现。
You may call base either before or after your special handling, depending on your requirements.
不过,派生类还应调用基实现以确保所有资源都已释放。
However, they should also call the base implementation to ensure that all resources are freed.
如果继承中的中间类已实现了此方法,则仍应调用基实现。
You should still call the base implementation in case an intermediate class in the inheritance has implemented this method.
通过利基实现成长,记住,要以你的最佳潜在顾客的估价与需求来衡量风险。
Niche by niche, growth comes from taking measured risks that start with an assessment of your best potential customers and their needs.
由于继承中的中间类可能会实现此方法,因此我们建议您在实现中调用基实现。
Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
始终在调用自己的实现之前调用基实现,因为基实现负责合并已在层次结构的上述类型上定义的所有属性。
Always call the base implementation prior to your own implementation, because the base implementation takes care of merging all the properties already defined on previous types in the hierarchy.
联合国秘书长潘基文说:“宏伟的目标是可以实现的。”
UN Secretary-General, Ban Ki-moon said: "The great goals are within reach."
实现需要扩展某个基类,并且应该提供由框架实现的异步接口。
The implementation has to extend a certain base class, and there should be an asynchronous interface that the framework implements.
由于AS6构建在AS5(这是完整的EE 5实现)代码基之上,因此AS 6还会包含额外的JSR。
Because as 6 was built on the as 5 code-base (which is a full EE 5 implementation), as 6 does include additional JSRs as well.
做到这一点的最佳方法是在一个小的公共基类的集合中封装特定于Domino的实现细节。
The best way to do this is to encapsulate the Domino specific implementation details in a small set of common base classes.
更关键的是,您可以轻松地注入模拟对象来替代真正的Speaker实现,并且无需影响其他的代码基就可以进行测试。
More to the point, you could easily inject a mock object instead of a real Speaker implementation, and you could do a test without affecting the rest of your code base.
concrete类为它们各自的基类提供恰当的实现。
Concrete classes provide the appropriate implementation for their respective base class. The Factory Method Pattern consists of the following classes.
如果马尔基·奥尼能实现他的目标,他将创造出一家全新的企业,包括菲亚特汽车公司(法拉利和玛莎拉蒂除外或是包括上述两家公司但菲亚特集团其他部分除外)、克莱斯勒和通用汽车欧洲分公司。
If Mr Marchionne pulls it off, he will create a new company consisting of Fiat Auto (without Ferrari and Maserati or the rest of the Fiat Group), Chrysler and GM Europe.
PHPV 5中另一个有帮助的新功能是抽象类,使用抽象类可以轻松地用一个基类实现接口的核心部分,然后用该接口创建实体类。
Another helpful addition to PHP V5 is the abstract class, which makes it easy to have one base class to implement the core of an interface from which you then create concrete classes.
您可能会非常合理地想到,也可以定义xo基类的子类来实现同样的增强。
You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.
实现一个可靠的服务注册产品,并将其定位成支撑基设的标准部分。
Implement a reliable service registry product and position it as a standard part of the supporting infrastructure.
基本的解决方案是定义可以用静态编译的代码访问的基类或者接口,然后生成的类扩展这个基类或者实现这个接口。
The basic solution is to define a base class or interface that can be accessed by the statically compiled code, then extend that base class or implement that interface in the generated class.
例如,可以在回调基类中实现错误处理方法,让所有回调都可以使用它,从而确保以一致的方式处理所有远程服务异常。
For example, an error handling method can be implemented in a callback base class so that it can be used by all callbacks to ensure all remote service exceptions will be handled consistently.
马尔基翁内喜欢成为关注的焦点。上周在底特律,他实现了自己的愿望。
Sergio Marchionne likes to be at the centre of attention and he got his wish in Detroit this week.
如果这类图可以帮助开发者找到他们最感兴趣的部分代码基,我们打算快速实现一个版本以满足开发者所需。
Given that having such diagrams can help developers find parts of the codebase that they are most interested in, we wanted to provide a quick version of such diagrams for developers needs.
通过限制实现的派生在希望创建基类型的子集的情况下有用。
Derivation by restriction is useful in cases where you want to create a subset of the base type.
亚洲协会负责人朱迪-基拉昌德说,在中国,很少有制度性的障碍阻挠女性实现职业上的成功。
In China, there are fewer institutional barriers for women trying to succeed professionally, says Judi Kilachand, an executive director at the Asia Society.
此外,清单13显示了抽象方法的用法,演示如何将基本功能放入基类中以及如何阻止实现类使用特定函数。
Additionally, Listing 13 shows the use of an abstract method to demonstrate how basic functionality can be put into a base class and specific functionality can be deterred to an implementation class.
很多关键的基类也挑选了一些被大家经常要求的辅助函数予以实现。
Many of the key base classes also picked some frequently requested helper function.
很多关键的基类也挑选了一些被大家经常要求的辅助函数予以实现。
Many of the key base classes also picked some frequently requested helper function.
应用推荐