Category: JavaSE

Design PatternsJavaSERelevant topics

State Pattern

by:

State is a behavioral design pattern, in which a class behavior changes based on its state. In State pattern there are objects which represent various states …

Design PatternsJavaSERelevant topics

Strategy Pattern

by:

Strategy is a behavioral design pattern which is used for changing class behavior or its algorithm at run time. With Strategy pattern, developer creates objects which …

Design PatternsJavaSERelevant topics

Proxy Pattern

by:

Proxy is a structural pattern in which a class represents functionality of another class. Proxy pattern implies creating object having original object to interface its functionality …

Design PatternsJavaSERelevant topics

Interpreter Pattern

by:

Interpreter is a behavioral pattern that provides a way to evaluate language grammar or expression. This pattern involves implementing an expression interface which tells to interpret …

Design PatternsJavaSERelevant topics

Mediator Pattern

by:

Mediator is a behavioral design pattern which is used to reduce communication complexity between multiple objects or classes. This pattern provides a mediator class which normally …

Design PatternsJavaSERelevant topics

Flyweight Pattern

by:

Flyweight is a structural pattern that is used to reduce the number of objects created and to decrease memory footprint and increase performance. Flyweight tries to …

Design PatternsJavaSERelevant topics

Decorator Pattern

by:

Decorator is a structural pattern that allows a user to add new functionality to an existing object without altering its structure. This pattern creates a decorator …

Design PatternsJavaSERelevant topics

Memento Pattern

by:

Memento is a behavioral pattern that is used to restore state of an object to a previous state. Memento pattern uses three actor classes. Memento class …

Design PatternsJavaSERelevant topics

Iterator Pattern

by:

Iterator Pattern is a behavioral pattern which is used to get a way to access the elements of a collection object in sequential manner without any …

Design PatternsJavaSERelevant topics

Prototype Pattern

by:

Prototype Pattern is a creational pattern which refers to creating duplicate object while keeping performance in mind. This pattern involves implementing a prototype interface which tells …