go top

double dispatch 添加释义

网络释义英英释义

  双分派

实际上double dispatch双分派)是一种很经典的技术,但是当前的主流的面向对象程序设计语言(例 [详细]

基于122个网页-相关网页

  双重分派

别忘了多态只能通过成员函数调用来实现,所以如果你想实现双重分派(double dispatching),就必须得有两次成员函数调用:第一次调用决定第一个未知类型,第二次调用决定第二个未知类型。

基于30个网页-相关网页

  双重分发

访问者模式感觉相当复杂,它通过双重分发(Double Dispatch)的方式实现在不更改子类的前提下,在运行时透明地为类层次结构上的各个类动态添加新的操作。

基于20个网页-相关网页

  所谓双重发放

Visitor形式的几个关键Visitor形式穿越所谓双重发放double dispatch)来告终在不改动Element类层次构造的前提下,在运行时透明地为类层次构造上的各个类动态增加新的垄断。

基于12个网页-相关网页

短语

Double-dispatch 双分派

Implementing the double dispatch 实现双重分派

Double dispatch

  • abstract: In software engineering, double dispatch is a special form of multiple dispatch, and a mechanism that dispatches a function call to different concrete functions depending on the runtime types of two objects involved in the call. In most object-oriented systems, the concrete function that is called from a function call in the code depends on the dynamic type of a single object and therefore they are known as single dispatch calls, or simply virtual function calls.

以上来源于: WordNet

双语例句

  • Set up the new screen using Double dispatch.

    使用双重分发设置屏幕

    youdao

  • I got an unexpected demonstration of the double dispatch pattern in real life the other day.

    几天实际生活意外地得到了双重分发模式一个演示

    youdao

  • We can use a pattern called Double Dispatch to pull out the variation into the subclasses in such a way that we don't break existing interface contracts.

    我们可以使用称为双重分发模式变化子类中,通过这种方式,我们需要破坏现有的接口定义。

    youdao

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

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

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