Glossary: Software Design Patterns in Java
Composite
Also written: composite pattern
A pattern where a single item and a group answer the same method, and the group asks each part and adds up the answers. A `Bundle` and a `Single` both have `price()`.