Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maolonglong/java-design-pattern
Java 设计模式的基本代码实现
https://github.com/maolonglong/java-design-pattern
codecov design-pattern java junit5 lombok maven maven-wrapper travis-ci
Last synced: about 2 hours ago
JSON representation
Java 设计模式的基本代码实现
- Host: GitHub
- URL: https://github.com/maolonglong/java-design-pattern
- Owner: maolonglong
- License: mit
- Created: 2021-03-15T06:39:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T02:32:28.000Z (about 2 years ago)
- Last Synced: 2024-05-07T18:10:46.635Z (6 months ago)
- Topics: codecov, design-pattern, java, junit5, lombok, maven, maven-wrapper, travis-ci
- Language: Java
- Homepage:
- Size: 1.1 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![java-design-pattern](https://socialify.git.ci/MaoLongLong/java-design-pattern/image?description=1&language=1&owner=1&pattern=Circuit%20Board&theme=Light)
[![Build Status](https://travis-ci.com/MaoLongLong/java-design-pattern.svg?branch=main)](https://travis-ci.com/MaoLongLong/java-design-pattern)
[![codecov](https://codecov.io/gh/MaoLongLong/java-design-pattern/branch/main/graph/badge.svg?token=Y0OD305CJM)](https://codecov.io/gh/MaoLongLong/java-design-pattern)
[![JDK Version](https://img.shields.io/badge/JDK-8%2B-green)](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html)
[![GitHub Repo stars](https://img.shields.io/github/stars/MaoLongLong/java-design-pattern?style=social)](https://github.com/MaoLongLong/java-design-pattern)设计模式(Design Pattern)是前辈们对代码开发经验的总结,是解决特定问题的一系列套路。它不是语法规定,而是一套用来提高代码可复用性、可维护性、可读性、稳健性以及安全性的解决方案。
本项目用 maven 构建,使用 java8 进行简单实现,另外每种模式都有对应的 UML 类图进行描述。
```bash
git clone https://github.com/MaoLongLong/java-design-pattern.git
cd java-design-pattern# compile and test
mvnw.cmd clean test # on windows
./mvnw clean test # on linux
```