Compound pattern The Compound pattern is a set of a few patterns that are combined to solve a general problem.