Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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
Posts: 7466
50
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