# Design_Patterns **Repository Path**: wmsydc/design_-patterns ## Basic Information - **Project Name**: Design_Patterns - **Description**: 这是一个全面的设计模式学习项目,涵盖了GoF(Gang of Four)提出的23种经典设计模式以及面向对象设计原则。项目使用Java语言实现,结构清晰,示例完整,适合学习和理解各种设计模式的原理和应用。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-23 - **Last Updated**: 2025-12-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 设计模式示例项目 这是一个包含多种设计模式实现的 Java 项目,主要用于学习和理解常见的设计模式。 ## 项目结构 - `adapter`: 包含适配器模式的实现 - `bridge`: 包含桥接模式的实现 - `builder`: 包含建造者模式的实现 - `combination`: 包含组合模式的实现 - `command`: 包含命令模式的实现 - `decorator`: 包含装饰器模式的实现 - `facade`: 包含外观模式的实现 - `factory`: 包含各种工厂模式的实现 - `flyweight`: 包含享元模式的实现 - `interpreter`: 包含解释器模式的实现 - `iterator`: 包含迭代器模式的实现 - `mediator`: 包含中介者模式的实现 - `memento`: 包含备忘录模式的实现 - `observer`: 包含观察者模式的实现 - `prototype`: 包含原型模式的实现 - `proxy`: 包含代理模式的实现 - `responsibility`: 包含责任链模式的实现 - `singleton`: 包含单例模式的实现 - `state`: 包含状态模式的实现 - `strategy`: 包含策略模式的实现 - `template`: 包含模板方法模式的实现 - `visitor`: 包含访问者模式的实现 ## 使用说明 每个设计模式都有一个或多个示例实现。要运行示例,请找到对应的 `Client.java` 文件并运行其中的 `main` 方法。 ## 许可证 该项目使用 MIT 许可证。有关详细信息,请参阅项目中的 LICENSE 文件。