一句话设计模式之Vistor模式

Vistor模式的目的是将算法和数据结构分离,手段是多分派(multi dispatch)。

posted on 2010-01-03 12:11  Todd Wei  阅读(620)  评论(0编辑  收藏  举报