Skip to content

dueyfinster/JavaDesignPatterns

Repository files navigation

Build Status Circle CI Build status codecov Coverage Status

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)

About

Design Patterns in Java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages