23种设计模式的java程序,参考《大话设计模式》将书中的程序做成java版,并做出自我理解的部分改动。
目前抽象工厂+反射的实现方式有问题 迭代器模式需要完善。
已完成的设计模式:简单工厂模式、策略模式、装饰模式、代理模式、工厂方法模式、原型模式、模版方法模式、外观模式、建造者模式、观察者模式、抽象工厂模式、状态模式、适配器模式、备忘录模式、组合模式、迭代器模式、单例模式、桥接模式、命令模式、职责链模式、中介者模式 待完成的设计模式:享元模式、解释器模式、访问者模式 待完善及进一步改进的有:抽象工厂+反射、迭代器模式。