• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Buinder Pattern Example

 
luis meira
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends
i'm currently studying for part i and i'm having a certantain dificulty visualizing some of the design patterns.
by any chance you know any good tutorial of design patterns ?
can someone post a java example on the builder Pattern ?
best regards
luis meira
 
Nishant Anshul
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey , found this unannswered...Luis, IMO the best book avlbl for design patterns is by eric gamma ...
buddy u can find many good examples in books for builder pattern...but okay if u want one here, let me say this way. Builder pattern provide u more ctrl over the creation process and second, the same process may result in diff products...so take for example, poblem is to build a colour palette which can create various pallette objects depending upon varying PROPORTIONS of color(RGB) classes used. Hope u got the lead and implement similar scenarios.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic