Chapter 8. Composite Pattern

<feature><title>In This Chapter</title> </feature>

The Composite pattern enables you to elegantly deal with recursive or hierarchical data structures. There are many examples of hierarchical data structures, making the Composite pattern very useful. A common example of such a data structure is one that you encounter every time you use a computer: the file system. The file system consists of directories and files. Every directory potentially has contents. The contents of a directory might be files, but they also might be directories. In this way, the file system of a ...

Get Advanced ActionScript 3 with Design Patterns now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.