go top

single dispatch

  • 单分派:一种在面向对象编程中实现多态的方法,根据调用方法的对象类型来确定使用哪个方法实现。

网络释义

  单分派

...的上下文,Python用多元法泛化多态性,不同类型的对象可以用类似的方式进行工作,但大多数 OOP 编程是单分派single dispatch)的;也就是说,我们真正关心的是在上下文中选择要执行的正确代码路径;老式的过程代码可以做出同样的决定,OO

基于64个网页-相关网页

  单一派遣

我不知道是否会这样,因为对于单一派遣single dispatch)而言,我的方法确实与类方法查找完全匹配。当然,这需要很多附加功能或潜在要求。

基于12个网页-相关网页

双语例句权威例句

  • In recap, most OOP programming is single dispatch; that is, just one designated object determines which code path is taken.

    现在我们回忆一下,大部分OOP编程单一分派就是说只有一个指定对象用来确定要代码路径

    youdao

  • The run-time system may dispatch multiple client invocations to the service endpoint interface to this single instance.

    这个运行时系统可以多个服务端点接口客户机调用分派对于这个单一实例

    youdao

  • In single-dispatch polymorphism, the object that "owns" a method is singled out.

    分派多态性中,挑选出“拥有方法对象

    youdao

更多双语例句
  • PT, police dispatch logs reported the sound of a single gunshot from inside the residence.

    CNN: SHARE THIS

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

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

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