1
edit
Changes
no edit summary
In software development the <i>composite</i> pattern is a tree structure like object which combines objects with similar functionality. Often programmers need to manipulate inheriting objects in a similar way thus they can use the composite pattern.
<br />
<br />
__TOC__
<li>Visitor</li>
</ul>
<br />
==UML Diagram==
Here is a UML representation of the composite pattern.
[[Image:Composite.GIF|Composite Design Pattern]]
<br />
Source of the image: http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/composite.htm
===Notepad++ - C++===
<pre>
===Limewire - Java===
This code is taken from Limwire project which is distributed under the [http://www.gnu.org/copyleft/gpl.html GNU] GNU General Public License agreement and is an open source file sharing software. The first file is taken form the Torrent.java which defines various functions required to handle torrent files. The leaf will then have to implement these functions.
<pre>
}
</pre>
==References==
<ul>
<li>[http://en.wikipedia.org/wiki/Composite_pattern Composite pattern]</li>
<li>[http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/composite.htm Composite Design Pattern]</li>
<li>[http://www.limewire.com/english/content/home.shtml Limewire]</li>
<li>[http://notepad-plus.sourceforge.net/uk/site.htm Notepad++]</li>
</ul>