Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classic example Composite pattern

 
vijay jacob
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for classic example of composite pattern from Telecom /Banking.

No manger employee hierarchy Please.

 
Junilu Lacar
Bartender
Pie
Posts: 7765
62
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vijay jacob wrote:No manger employee hierarchy Please.


Very well: an XML document. Each element in the document can be treated as both a Parent node and a Child node (with the exception of the root node, of course).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic