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.
我們可以使用稱為雙重分發(fā)的模式將變化推入子類中,通過這種方式,我們不需要破壞現(xiàn)有的接口定義。 - 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.
目前關(guān)于勞務(wù)派遣理論的爭論仍然存在,主要還是對于一重勞動關(guān)系還是雙重勞動關(guān)系理論的取舍問題。 - 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 方法實現(xiàn)了雙重分派,允許選擇使方法調(diào)用不僅依賴具體的對象類型,還依賴于訪問者類型。