对于设计模式,不仅仅是看懂源码,还要根据不同的场合判断使用哪一种设计模式,以及代码的实现!
http://www.cnblogs.com/Binhua-Liu/archive/2010/12/23/1914935.html
第一个使用适配器模式,第二个使用状态模式。自己代码实现。
http://blog.csdn.net/lovelion/article/details/7430501
http://blog.csdn.net/LoveLion/article/details/7430515
工厂方法模式和观察者模式的应用
http://blog.csdn.net/LoveLion/article/details/7433523
访问者模式的应用---有点难
http://blog.csdn.net/LoveLion/article/details/7433523