go top

extract interface

网络释义

  提取接口

9、Extract Interface提取接口):当超过一个的类要使用某一个类中的部分方法时,应该接口他们之间的依赖,让调用者使用接口,这样可以降低代码耦合性。

基于518个网页-相关网页

  提炼接口

另一种可以用Extract Interface提炼接口)的情况是:你想要描述一个类的外部依赖接口。如果你打算将来加入其它种类的服务对象。

基于333个网页-相关网页

  抽取接口

...一个新类,以承担此类的部分职责 抽取子类(Extract SubClass),如果能可以划分类和新类之间的责任 抽取接口(Extract Interface),如果可以确定客户所用的特性子集  增加代码的表达能力.有可能暴露出重复性 过长的方法  存在大量的代码行.

基于106个网页-相关网页

  撷取成界面将原类别内的方法撷取至新接口中

Eclipse快捷键(中英文对照)转载 ... Extract Constant (撷取成常数:将数字撷取至新的Static字段,并使用新的Static字段) Extract Interface (撷取成界面:将原类别内的方法撷取至新接口中,原类别将实作该接口) Introduce Factory (采用代理:利用方法来取得建构子) ...

基于18个网页-相关网页

短语

Extract t Interface 提炼接口

有道翻译

extract interface

提取接口

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

双语例句

  • The intended interface is just one 'extract interface' refactoring away.

    这个可能出现接口正是基于对一个提取接口”的重构之上。

    youdao

  • The Extract interface refactoring makes an interface out of the methods defined in a class.

    Extract Interface重构可以个类已定义方法生成接口

    youdao

  • The Extract interface dialog box displays default values for the name of the interface and the name of the code file in which it will be declared.

    对话方块会显示预设名称以及其中宣告介面的预设程序码档档名。

    youdao

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

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

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