본문 바로가기

Dev.../패턴자료

Behavioral Patterns

Behavioral Patterns

    Behavioral 패턴들은 객체들 사이의 통신과 관련된 가장 명확한 패턴이다. 이 단원에서는 다음과 같은 패턴들을 살펴볼 것이다.

The Observer Pattern (in the Learning the Java Language trail)

Observer 패턴은 클래스들이 서로 변경을 알아 챌 수 있도록 하는 방법을 정의한다.

The Mediator Pattern (in the Learning the Java Language trail)

Mediator 패턴은 클래스간에 서로 아는 것을 갖는 것으로부터 모든 클래스들을 유지하기 위하여  또 다른 클래스를 사용함으로써 간단하게 클래스 간의 통신을 어떻게 할 지를 정의한다.

The Chain of Responsibilty Pattern (in the Learning the Java Language trail)

Chain of Responsibility 는 클래스가 인식될 때까지 클래스들 사이의 요청을 전달하여 클래스들 사이의 디커플링을 훨씬 더 허용하는 것이다. 

The Template Pattern (in the Learning the Java Language trail)

Template 는 알고리즘의 추상적인 정의를 제공한다.

The Interpreter Pattern (in the Learning the Java Language trail)

Interpreters 는 프로그램에서 언어 요소들을 어떻게 포함할 것인가에 대한 정의를 제공한다. 

The Strategy Pattern (in the Learning the Java Language trail)

Strategy 는 하나의 클래스 내부에서 알고리즘을 캡슐화한다.  

The Visitor Pattern (in the Learning the Java Language trail)

Visitor 패턴은 클래스에 함수를 추가한다.

The State Pattern (in the Learning the Java Language trail)

State 패턴은 클래스의 인스턴스 변수들을 위한 메모리를 제공한다.

The Command Pattern (in the Learning the Java Language trail)

Command 패턴은 명령의 실행을 일으키는 인터페이스 환경으로부터 명령의 실행을 분리하기 위한 간단한 방법을 제공한다.

The Iterator Pattern (in the Learning the Java Language trail)

Iterator 패턴은 클래스에 있는 데이터의 목록을 통하여 우리는 이동하는 방법을 공식화한다.

'Dev... > 패턴자료' 카테고리의 다른 글

The Chain of Responsibility Pattern  (0) 2005.03.01
The Observer Pattern  (0) 2005.03.01
Summary of Structural Patterns  (0) 2005.02.28
The Decorator Pattern  (0) 2005.02.28
The Bridge Pattern  (0) 2005.02.28