Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 设计模式的基本代码实现

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
```