상위 질문
타임라인
채팅
관점

템플릿 메소드 패턴

소프트웨어 디자인 패턴 위키백과, 무료 백과사전

Remove ads

템플릿 메소드 패턴(template method pattern)은 소프트웨어 공학에서 동작 상의 알고리즘의 프로그램 뼈대를 정의하는 행위 디자인 패턴이다.[1] 알고리즘의 구조를 변경하지 않고 알고리즘의 특정 단계들을 다시 정의할 수 있게 해준다.[2]

구조

UML 클래스 다이어그램

Thumb
A sample UML class diagram for the Template Method design pattern.[3]

클래스 다이어그램

Thumb
Template method: UML class diagram.
Thumb
Template Method in LePUS3.[4]

같이 보기

각주

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads