/programming/design-pattern/structural composite-pattern 작성 2025-08-21 복합체 패턴 복합체 패턴은 주로 트리 구조의 데이터를 처리하는데 사용된다. leaf node와 non-lead node를 하나의 같은 node class를 기반으로 구현하는 방식이다. 복합 객체의 재귀 탐색 논리를 통합하는 데에 의의가 있다.