Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
Yes, we can build this structure, see the attached code in zip file. To elucidate further read about pattern hatching by John Vlissides, which tells about patterns vs pattern languages and how we can combine 2 patterns to get maximum throughput. Please feel free to ask if you have any problem with code.
Narayanan Rajagopalan, May 15, 2011
Reply 2
Until someone someone answers this please go through this resource as it has some useful information.

http://codebetter.com/jeremymiller/2007/10/31/be-not-afraid-of-the-visitor-the-big-bad-composite-or-their-little-friend-double-dispatch/

I hope this will be useful for further exploration of the subject.
Rajesh Pillai, Jan 10, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas