Currently browsing tag

Design Patterns


State Design Pattern In Java

This tutorial explains the state design pattern with a simple example program. State design pattern is very similar to the Strategy pattern, …


Design Patterns in Java

In developing a system, it is expected that some requirements are guaranteed, for example, performance, robustness, understanding, ease of reuse, modification, and …


Decorator Design Pattern in Java

Intent of Decorator Design Pattern: Attach additional responsibilities to an object dynamically.Decorators provide a flexible alternative to subclassing for extending functionality.[GoF,p175] Client …


Iterator Pattern

What is Iterator Pattern? Provide a way to access the elements of the aggregate object sequentially without exposing its underlying representation. Aggregate …


Abstract Factory Pattern

What is Abstract Factory Pattern? Provide an interface for creating families of related or dependent objects without specifying their concrete classes. Wikipedia …


Template Design Pattern

What is Template Design Pattern? An abstract class defines various methods and has one non-overridden method which calls the various methods. also …

Pin It on Pinterest