go top

protected abstract

网络释义

  抽象方法

...骤的模板方法(public),Template Method模式把这些可以被细分的可变步骤抽象为可以被子类重载的抽象方法protected abstract),并通过在子类中的重载(重新定义),做到无需改变模板方法的算法步骤而可以重新定义该算法中的某些特定的步骤。

基于12个网页-相关网页

有道翻译

protected abstract

保护文摘

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • In this case we do not define an instance variable in the injectee, but an abstract method returning the required object. The method may be public or protected

    这个例子中我们没有在被注入者定义实例变量而是定义了一个返回所需对象抽象方法

    youdao

  • Abstract: Right, as the protected object of fault tortious liability, can't be taken as the foundation of this liability.

    摘要权利仅能作为过错侵权责任保护对象,而不能作为责任的发生基础

    youdao

  • To fix a violation of this rule, either make the constructor protected, or do not declare the type as abstract.

    如果需要修复这个问题,可以声明这个构造函数为保护或者,声明这个类型不是一个抽象类型。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定