Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Structural Design Patterns: Decorator Pattern

Previously we altered the behaviour of our abstract objects using the bridge pattern and we implemented a tree like structure for our components using the composite pattern and delegating the requests. The Decorator pattern allows behavior to be added to an individual Object, either statically or dynamically, without affecting the behavior of other objects from ...



This post first appeared on Java Code Geeks, please read the originial post: here

Share the post

Structural Design Patterns: Decorator Pattern

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×