double dispatch
常見(jiàn)例句
- 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.
我們可以使用稱(chēng)爲(wèi)雙重分發(fā)的模式將變化推入子類(lèi)中,通過(guò)這種方式,我們不需要破壞現(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ù)派遣理論的爭(zhēng)論仍然存在,主要還是對(duì)於一重勞動(dòng)關(guān)系還是雙重勞動(dòng)關(guān)系理論的取捨問(wè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.
這個(gè) acceptVisitor 方法實(shí)現(xiàn)了雙重分派,允許選擇使方法調(diào)用不僅依賴(lài)具躰的對(duì)象類(lèi)型,還依賴(lài)於訪問(wèn)者類(lèi)型。 返回 double dispatch