Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/echoTheLiar/JavaCodeAcc
Java代码积累 | 大话设计模式(Java实现版本)、线程协作
https://github.com/echoTheLiar/JavaCodeAcc
design-patterns java
Last synced: 1 day ago
JSON representation
Java代码积累 | 大话设计模式(Java实现版本)、线程协作
- Host: GitHub
- URL: https://github.com/echoTheLiar/JavaCodeAcc
- Owner: echoTheLiar
- Created: 2017-03-22T08:19:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T03:39:19.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T17:21:47.593Z (3 months ago)
- Topics: design-patterns, java
- Language: Java
- Homepage:
- Size: 301 KB
- Stars: 601
- Watchers: 27
- Forks: 238
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaCodeAcc
Java代码积累:**[并发](./README.md/#concurrency) [设计模式](./README.md/#design-pattern) [数据结构](./README.md/#data-structure) [使用容器](./README.md/#using-containers) [工具](./README.md/#tools) [util类](./README.md/#util) [基础知识](./README.md/#basic)**## concurrency
- [演示线程的生命周期](./src/concurrency/ThreadLifeCycle.java)
- [生产者-消费者](./src/concurrency/ProducerAndConsumer.java)## design pattern 参考《大话设计模式》
- [简单工厂模式](./src/designpattern/factory/simple/Calculator.java)
### 创建型模式
- [工厂方法模式](./src/designpattern/factory/method/FactoryClient.java)
- [抽象工厂模式](./src/designpattern/factory/abstraction/Client.java)
- [原型模式](./src/designpattern/prototype/PrototypeClient.java)
- [建造者模式](./src/designpattern/builder/BuilderClient.java)
- [单例模式](./src/designpattern/singleton/SingletonClient.java)
### 结构型模式
- [适配器模式](./src/designpattern/adapter/AdapterClient.java)
- [桥接模式](./src/designpattern/bridge/BridgeClient.java)
- [组合模式](./src/designpattern/composite/CompositeClient.java)
- [装饰模式](./src/designpattern/decorator/DecoratorClient.java)
- [外观模式](./src/designpattern/facade/FacadeClient.java)
- [享元模式](./src/designpattern/flyweight/FlyWeightClient.java)
- [代理模式](./src/designpattern/proxy/ProxyClient.java)
### 行为模式(类行为型模式)
- [解释器模式](./src/designpattern/interpreter/InterpreterClient.java)
- [模板方法模式](./src/designpattern/template/TemplateClient.java)
### 行为模式(对象行为型模式)
- [策略模式](./src/designpattern/strategy/StrategyClient.java)
- [观察者模式](./src/designpattern/observer/ObserverClient.java)
- [状态模式](./src/designpattern/state/StateClient.java)
- [备忘录模式](./src/designpattern/memento/MementoClient.java)
- [迭代器模式](./src/designpattern/iterator/IteratorClient.java)
- [命令模式](./src/designpattern/command/CommandClient.java)
- [职责链模式](./src/designpattern/responsibilitychain/Client.java)
- [中介者模式](./src/designpattern/mediator/MediatorClient.java)
- [访问者模式](./src/designpattern/visitor/VisitorClient.java)## data structure
- [Stack - 使用泛型实现栈](./src/datastructure/Stack.java)
- [生成Fibonacci数列](./src/datastructure/Fibonacci.java)## using containers
- [利用迭代器实现反转](./src/containers/Reverse.java)## util
- [StringUtil类 - 封装常用的String方法](./src/util/StringUtil.java)## basic
- [正则表达式使用方式](./src/basic/UsingRegex.java)## 如果有帮到你,欢迎随意打赏,感谢~
![微信支付](https://raw.githubusercontent.com/echoTheLiar/JavaCodeAcc/master/wechatpay.JPG)
![支付宝](https://raw.githubusercontent.com/echoTheLiar/JavaCodeAcc/master/alipay.JPG)