In recap, most OOP programming is single dispatch; that is, just one designated object determines which code path is taken.
现在我们回忆一下,大部分OOP编程都是单一的分派;这就是说,只有一个指定的对象用来确定要走哪条代码路径。
The run-time system may dispatch multiple client invocations to the service endpoint interface to this single instance.
这个运行时系统可以把多个对该服务端点接口的客户机调用分派到对于这个单一实例。
In single-dispatch polymorphism, the object that "owns" a method is singled out.
在单分派多态性中,挑选出“拥有”方法的对象。
应用推荐