设计模式-Visitor(行为模式) 一个类在不修改自己的同时增加了新的操作,存在问题是 1:破坏了封装性 2:扩展困难

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/fourmi/p/12089740.html