====== the Definition of Adapter Pattern ======
어댑터 패턴의 정의는 다음과 같습니다.
<code>
어댑터 패턴(Adapter Pattern) - 한 클래스의 인터페이스를 클라이언트에서
사용하고자 하는 다른 인터페이스로 변환합니다...
===== Class Diagram =====
{{:study:java:design_pattern:adapter.jpg|Adapter Pattern}}
어댑터 패턴에는 여러 객체지향 원칙이 반영되어 있습니다. 어댑터를 새로 바뀐 인터페이스로 감쌀 때는
객체 구성(composition)을
====== the Definition of Template Method Pattern ======
템플릿 메소드 패턴의 정의는 다음과 같습니다.
<code>
템플릿 메소드 패턴에서는 메소드... 니다.\\
클래스 다이어그램을 한번 살펴봅시다.
{{:study:java:design_pattern:template_method.jpg|Template Method}}
{{keywords>Template Method Pattern}}
===== snippet of AbstractClass =====
이번에는 추상 클... }
}
</code>
===== sorting using template-method pattern =====
배열을 가지고 자주 하는 일 가운데 뭐가 있을까요? 정렬(sort)많이들 하시
====== the Definition of Iterator Pattern ======
**이터레이터 패턴**의 정의는 다음과 같습니다.
<code>
이터레이터 패턴은 컬렉션 구현방법을 노출...
===== Class Diagram =====
{{:study:java:design_pattern:iterator.jpg|Iterator Pattern}}
%%ConcreteIterator%% 구상클래스의 예로 배열에 대해 Iterator 인터페이스를 구현해 보겠습니다.
===== I
it just needs to be added to the [[doku>entities|pattern file]].
There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' a
ojo.subscribe%%이다.
어떤 의미에서는 [[study:java:design_pattern:observer|Observer Pattern]]이라고 볼 수 있다. publish하는
쪽에서는 누가 subscribe를 해도 신경쓸 필요가 없다. \\ 덕분에 event와 listener사