java图形design,GitHub - acermansk/java-designpattern-learning: 关于Java Design Pattern (设计模式) 学习积累的例子,是初...

java-designpattern-learning

关于Java Design Pattern (设计模式) 学习积累的例子,是初学者及设计模式巩固的最佳实践。

作者与学习乐园

源码地址:我的GitHub地址

作者: 李强强

QQ群:编程之美 365234583 立即加入

项目结构

src 目录

Java Design Pattern (设计模式) 兼测试案例

包目录:

├── org.javadp.callback// 回调机制

├── org.javadp.decorator// 装饰模式

├── org.javadp.strategy// 策略模式

├── org.javadp.template// 模板模式

拼命更新!顶!d=====( ̄▽ ̄*)b

详细目录:

├── README.md// 项目唯一详细文档

├── org.javadp.callback// 回调机制

├── org.javadp.callback.cs// 回调机制 - 模拟CS放送msg

├── org.javadp.decorator// 装饰模式

├── org.javadp.decorator.servletReq// 装饰模式 - 模拟Serlvet的Request

├── org.javadp.strategy// 策略模式

├── org.javadp.strategy.sql// 策略模式 - 数据库查询案例

├── org.javadp.template// 模板模式

├── org.javadp.template.mcl99// 模板模式 - 99乘法表打印案例

拼命更新!顶!d=====( ̄▽ ̄*)b

##学习方法

根据包目录,进行一块一块学习。然后针对某类,请看下相对应的test包或者src下直接测试案例,进行学习。

Learn how to implement design patterns in Java: each pattern in Java Design Patterns is a complete implementation and the output is generated using Eclipse, making the code accessible to all. The examples are chosen so you will be able to absorb the core concepts easily and quickly. This book presents the topic of design patterns in Java in such a way that anyone can grasp the idea. By giving easy to follow examples, you will understand the concepts with increasing depth. The examples presented are straightforward and the topic is presented in a concise manner. Key features of the book: Each of the 23 patterns is described with straightforward Java code. There is no need to know advanced concepts of Java to use this book. Each of the concepts is connected with a real world example and a computer world example. The book uses Eclipse IDE to generate the output because it is the most popular IDE in this field. This is a practitioner's book on design patterns in Java. Design patterns are a popular topic in software development. A design pattern is a common, well-described solution to a common software problem. There is a lot of written material available on design patterns, but scattered and not in one single reference source. Also, many of these examples are unnecessarily big and complex. Table of Contents Chapter 1: Introduction Chapter 2: Observer Patterns Chapter 3: Singleton Patterns Chapter 4: Proxy Patterns Chapter 5: Decorator Patterns Chapter 6: Template Method Patterns Chapter 7: Strategy Patterns (Or, Policy Patterns) Chapter 8: Adapter Patterns Chapter 9: Command Patterns Chapter 10: Iterator Patterns Chapter 11: Facade Patterns Chapter 12: Factory Method Patterns Chapter 13: Memento Patterns Chapter 14: State Patterns Chapter 15: Builder Patterns Chapter 16: Flyweight Patterns Chapter 17: Abstract Factory Patterns Chapter 18: Mediator Patterns Chapter 19: Prototype Patterns Chapter 20: Chain of Responsibility Patterns Chapter 21: Composite Patterns Chapter 22: Bridge Patterns (Or Handle/Body Patterns) Chapter 23: Visitor Patterns Chapter 24: Interpreter Patterns
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值