以上来源于: WordNet
I got an unexpected demonstration of the double dispatch pattern in real life the other day.
几天前在实际生活中我意外地得到了双重分发模式的一个演示。
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.
我们可以使用称为双重分发的模式将变化推入子类中,通过这种方式,我们不需要破坏现有的接口定义。
Set up the new screen using Double dispatch.
使用双重分发设置新屏幕。
应用推荐