Currently browsing tag

Design Patterns

java-thumbnail

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, …

java

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 …

java-thumbnail

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 …

java-thumbnail

Iterator Pattern

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

java-thumbnail

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 …

java-thumbnail

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 …