double dispatch
英汉例句
- 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.
我们可以使用称为双重分发的模式将变化推入子类中,通过这种方式,我们不需要破坏现有的接口定义。 - At present, the dispatch services on the theory remains controversial, mainly for labor relations or a re-double of the trade-off theory of labor relations issues.
目前关于劳务派遣理论的争论仍然存在,主要还是对于一重劳动关系还是双重劳动关系理论的取舍问题。 - This acceptVisitor method implements double dispatch, allowing the choice of method call to depend not just on the concrete object type, but also on the visitor type.
这个 acceptVisitor 方法实现了双重分派,允许选择使方法调用不仅依赖具体的对象类型,还依赖于访问者类型。