多分派
多分派(Multiple dispatch or multimethods)是某些面向对象编程语言的特性,函数或者方法的分派取决于运行时参数的对象类型。它是对方法调用只能由调用者决定的单分派的扩展。多分派概括了两个或多个对象的动态分派。
网站首页 情感咨询 情感美文 情感百科 情感生活 学习充电 旧版美文
词汇 | Multiple dispatch |
分类 | 英语词汇 英语翻译词典 |
释义 |
Multiple dispatch
中文百科
多分派多分派(Multiple dispatch or multimethods)是某些面向对象编程语言的特性,函数或者方法的分派取决于运行时参数的对象类型。它是对方法调用只能由调用者决定的单分派的扩展。多分派概括了两个或多个对象的动态分派。
英语百科
Multiple dispatch 多分派Multiple dispatch or multimethods is a feature of some programming languages in which a function or method can be dynamically dispatched based on the run-time (dynamic) type or, in the more general case some other attribute, of more than one of its arguments. This is a generalization of single-dispatch polymorphism where a function or method call is dynamically dispatched based on the actual derived type of the object on which the method has been called. Multiple dispatch routes the dynamic dispatch to the implementing function or method using the combined characteristics of one or more arguments. |
随便看 |
|
依恋情感网英汉例句词典收录3870147条英语例句词条,基本涵盖了全部常用英语单词的释义及例句,是英语学习的有利工具。