此包中是代理模式样例中,使用JDK动态代理生成的代理类的代码。
此包中是24种设计模式(GOF的23种设计模式和简单工厂模式)的样例代码。
此包中包括学习《代码整洁之道》这本书的测试代码,学习写出优雅的代码。
此包中包括设计模式系列文章 类创建型包含3种工厂模式:简单工厂模式、工厂方法模式和抽象工厂模式。 对象创建型包含3种设计模式:建造者模式、原型模式和单例模式。 结构型模式主要包括:外观模式、装饰模式、代理模式、适配器模式、组合模式、桥接模式、享元模式这个7个模式。 行为型模式主要包括11种设计模式:策略模式、状态模式、职责链模式、模板方法模式、备忘录模式、观察者模式、迭代器模式、命令模式、中介者模式、解释器模式、访问者模式