본문 바로가기

카테고리 없음

2021-01-19 16시 개발자 글 모음 | "[Design Pattern] GoF"

[Design Pattern] GoF 생성 패턴 - 빌더 패턴(Builder Pattern) by 김슬기 about Design Pattern

  • setName ( "Pooh" ); return this ; } @Override public ToyBuilder buildHair () { toy
  • setHair ( "Yellow" ); return this ; } @Override public ToyBuilder buildClothes () { toy
  • setClothes ( "Red short sleeved T-shirt" ); return this ; } @Override public ToyBuilder buildPants () { return this ; } @Override public ToyBuilder buildShoes () { return this ; } }


태그