Dojo
话题
新佳
订阅
极道
元认知
元逻辑
元设计
元编程
元语言
Visitor访问者模式
我的一个visitor实作
public interface Visitable{ void accept(Visitor visitor);} public interface Visitor{ void visit(Vi
看visitor模式的感受
就是提倡用多态,而不是RTTI。
I'm a visitor, i would visit the ones i knew.
I'm learning Design Pattern, Here is what i think about the visitor Pattern. if something wrong, please inform me. thanks
上页
关闭