Skip to Content.
Sympa Menu

gang-of-4-patterns - Re: [gang-of-4-patterns] Need naive implementation of traversing aggregate collection

gang-of-4-patterns AT lists.cs.illinois.edu

Subject: Design Patterns discussion

List archive

Re: [gang-of-4-patterns] Need naive implementation of traversing aggregate collection


Chronological Thread 
  • From: Suresh Babu <sbkoya21 AT sify.com>
  • To: rajesh AT cs.iitm.ernet.in, gang-of-4-patterns AT cs.uiuc.edu
  • Subject: Re: [gang-of-4-patterns] Need naive implementation of traversing aggregate collection
  • Date: Fri, 21 Nov 2003 14:02:20 +0600 (IST)
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

You can pick up any sample program of XML DOM Tree traversal. DOM is a
typical example of Composite pattern usage as every Object in DOM tree is
ultimately a Node. All the Node types are enumerated in the Node class itself
and so that implentations could be done even in a Non OO language like C.

Regards,
Suresh

Quoting
rajesh AT cs.iitm.ernet.in:

> Hello,
>
> Thank u to all the people of this group for their help to clarify my
> doubts so for.
>
> I need naive implementation of traversing aggregate collection with
> which
> people often(70% of the time) implement it.
> Looking forward for reply.
> Thank u once again.
>
> regards
> rajesh
> --
> ===================================================================
>
>
> "Genius is one percent inspiration and 99 percent perspiration."
> -- Thomas Alva Edison
>
>
> ===================================================================
>
>
> _______________________________________________
> gang-of-4-patterns mailing list
> gang-of-4-patterns AT cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/gang-of-4-patterns
>

-------------------------------------------------
Click here to find your dream partner!
Know more at http://www.bharatmatrimony.com/partner/sify.html

Sify Power mail- a Premium Service from Sify Mail!
know more at http://mail.sify.com





Archive powered by MHonArc 2.6.16.

Top of Page