Design patterns

  1. Creational Patterns

    Patterns that provide one of the best ways to create an object.

    1. Factory Method

      One of the most used design patterns in Java.

    2. Abstract Factory

    3. Builder

      1. Telescoping Constructor
    4. Prototype

    5. Singleton

  2. Structural Patterns

    Patterns to assemble objects and classes into flexible and efficient structures.

    1. Adapter

    2. Bridge

    3. Composite

    4. Decorator

    5. Facade

    6. Flyweight

    7. Proxy

  3. Behavioral Patterns

    These patterns recognise reoccurring communication patterns between objects, and try to improve the flexibility of this communication.

    1. Null Object Pattern

    2. Memento Pattern

    3. Chain of responsibility

      Command

      Iterator

      Mediator

      Observer

      State

      Strategy

      Template Method

      Iterator