Structural Patterns

Proxy Design Pattern

Last Updated:

According to GoF definition of proxy design pattern, a proxy object provide a surrogate or placeholder for another object to control access to it. A …

Flyweight Design Pattern

Last Updated:

As per GoF definition, flyweight design pattern enables use sharing of objects to support large numbers of fine-grained objects efficiently. A flyweight is a shared …

Facade Design Pattern

Last Updated:

Facade design pattern provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.

Composite Design Pattern

Last Updated:

Composite design pattern is a structural pattern which modifies the structure of an object. This pattern is most suitable in cases where you need to …

Bridge Design Pattern

Last Updated:

Bridge design pattern is used to decouple a class into two parts – abstraction and it’s implementation – so that both can evolve in future …

Adapter Design Pattern in Java

Last Updated:

Ever tried to use a your camera memory card in your laptop. You cannot use it directly simply because there is no port in laptop …

Decorator Design Pattern in Java

Last Updated:

In software engineering, decorator design pattern is used to add additional features or behaviors to a particular instance of a class, while not modifying the …

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.