https://github.com/dueyfinster/javadesignpatterns
Design Patterns in Java
https://github.com/dueyfinster/javadesignpatterns
design-patterns java
Last synced: about 1 year ago
JSON representation
Design Patterns in Java
- Host: GitHub
- URL: https://github.com/dueyfinster/javadesignpatterns
- Owner: dueyfinster
- License: mit
- Created: 2013-02-10T21:58:22.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-08-18T16:28:47.000Z (almost 3 years ago)
- Last Synced: 2024-03-15T05:20:59.216Z (over 2 years ago)
- Topics: design-patterns, java
- Language: Java
- Homepage:
- Size: 138 KB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/dueyfinster/JavaDesignPatterns)
[](https://circleci.com/gh/dueyfinster/JavaDesignPatterns)
[](https://ci.appveyor.com/project/dueyfinster/designpatterns)
[](https://codecov.io/gh/dueyfinster/JavaDesignPatterns)
[](https://coveralls.io/github/dueyfinster/JavaDesignPatterns?branch=master)
# Overview
A collection of design patterns in Java.
My aim is to implement all of them (with documentation) as a learning resource/ reference point for myself and others.
| ~~Creational~~ | Structural | Behavioral |
| ------------- | ------------- | ------------- |
| ~~Abstract factory~~ | ~~Adapter~~ | ~~Chain of responsibility~~ |
| ~~Builder~~ | ~~Bridge~~ | ~~Command~~ |
| ~~Factory~~ | ~~Composite~~ | ~~Iterator~~ |
| ~~Prototype~~ | ~~Decorator~~ | ~~Mediator~~ |
| ~~Singleton~~ | ~~Facade~~ | ~~Memento~~ |
| ~~Object pool~~ | ~~Flyweight~~ | ~~Observer~~ |
| | ~~Proxy~~ | ~~State~~ |
| | | ~~Strategy~~ |
| | | ~~Template method~~ |
| | | ~~Visitor~~ |
## Building
To build, just do a Maven build. Also included is findbugs, jacoco, PMD and checkstyle.
## Running
Tests are written that run and explain each pattern - so you can try them individually.
## Pull Requests
Pull requests are very much welcome! Please note, every pull request should have:
* A matching JUnit Test (with good coverage)
* Run and fixed any checkstyle errors (run `mvn checkstyle:checkstyle`) [if you don't build will fail]
* PMD (run `mvn pmd:pmd`) and Findbugs should also be run and best effort to resolve issues
## Contributors
* Neil Grogan (dueyfinster)
* Mark Howard (bark4mark)