OOP

Template Method Pattern

최대 1 분 소요

Define the skeleton of an algorithm in an operation, deferring some steps to client subclasses. Template Method lets subclasses redefine certain steps of ...

Adapter Pattern

1 분 소요

Convert the interface of a class into another interface that clients expect. The adapter pattern lets classes work together that couldn’t otherwise becaus...

Iterator Pattern

3 분 소요

The essence of the Iterator Pattern is to “Provide a way to access the elements of an aggregate object sequentially without exposing its underlying repres...