Link to home
Start Free TrialLog in
Avatar of allelopath
allelopath

asked on

Decorate

What does it mean, to 'decorate' in Java terms (or perhaps broader, OO terms)
As in here:
http://apachecommonstipsandtricks.blogspot.com/2009/03/examples-of-lazy-lists-and-factories.html
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Decorate is a design pattern used in java class ...

Create a instantians for new class then  ur calss will check the pool memory if already avaliable then its give the same instances otherwise it will create a new one ...  best example for this patter is String ..
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorry my answer is wrong .. but its not (answer) not related to singleton
Avatar of allelopath
allelopath

ASKER

Thanks!
You're welcome.
Thanx 4 axxepting