Skip to content

Commit 7a854e9

Browse files
committed
update: factory-pattern
1 parent f74be4c commit 7a854e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_posts/2025-05-31-factory-pattern.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public enum NotifyChannelType {
119119

120120
### SenderChannelFactory – 전략 반환
121121

122+
- 참고) Enum을 사용할때는 HashMap보다 EnumMap이 성능과 유지 목적으로 장점이 있다.
123+
122124
```java
123125
@Component
124126
public class SenderChannelFactory {

0 commit comments

Comments
 (0)