Skip to content

Repository files navigation

Build StatusCircle CIBuild statuscodecovCoverage 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.

CreationalStructuralBehavioral
Abstract factoryAdapterChain of responsibility
BuilderBridgeCommand
FactoryCompositeIterator
PrototypeDecoratorMediator
SingletonFacadeMemento
Object poolFlyweightObserver
ProxyState
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

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages