This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| design_pattern:decorator_pattern [2021/02/07 03:26] – [Decorator Pattern] ledyx | design_pattern:decorator_pattern [2022/06/14 16:59] (current) – [Decorator Pattern] ledyx | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * 기능 확장이 필요할 때 서브클래싱 대신 쓸 수 있는 유연한 대안 [(https:// | * 기능 확장이 필요할 때 서브클래싱 대신 쓸 수 있는 유연한 대안 [(https:// | ||
| * [[Composite Pattern]]과 무엇이 다른가? | * [[Composite Pattern]]과 무엇이 다른가? | ||
| - | * " | + | * " |
| * 예시 | * 예시 | ||
| <sxh java ; gutter: | <sxh java ; gutter: | ||
| BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(new File(" | BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(new File(" | ||
| </ | </ | ||
| - | |||
| {{tag> | {{tag> | ||