my dog learned polymorphism
The moose likes OO, Patterns, UML and Refactoring and the fly likes Decorator Pattern Confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Decorator Pattern Confusion" Watch "Decorator Pattern Confusion" New topic

Decorator Pattern Confusion

Prithvi Sehgal
Ranch Hand

Joined: Oct 13, 2009
Posts: 774

I am trying to study Decorator pattern from Head First Design Patterns but i am unable to understand the basic concept,
can please someone point me towards a compact article or describe decorator pattern with an example.


My Blog, Follow me on Twitter,Scjp Tips, When you score low in mocks, Generics,Scjp Notes, JavaStudyGroup
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187

I agree. Here's the link:
subject: Decorator Pattern Confusion
It's not a secret anymore!