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 方法實現了雙重分派,允許選擇使方法調用不僅依賴具躰的對象類型,還依賴於訪問者類型。 返回 double dispatch