Design Patterns in Java language
Creational patterns deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. These patterns focus on the creation of objects and their initialization, and they include the following patterns:
Singleton pattern Factory pattern Abstract factory pattern Builder pattern Prototype pattern
Structural patterns deal with object composition, creating relationships between objects to form larger structures. These patterns focus on the relationship between objects and how they can be composed to achieve new functionality, and they include the following patterns:
Adapter pattern Bridge pattern Composite pattern Decorator pattern Facade pattern Flyweight pattern Proxy pattern
Behavioral patterns focus on communication between objects, what goes on between objects and how they operate together. These patterns focus on the behavior of objects and how they interact and operate together, and they include the following patterns:
Chain of responsibility pattern Command pattern Interpreter pattern Iterator pattern Mediator pattern Memento pattern Observer pattern State pattern Strategy pattern Template method pattern Visitor pattern