示例#1
0
 /** The director specifies the sequence here. */
 public void constructOutfit() {
   outfitBuilder.createNewOutfit();
   outfitBuilder.buildHasJacket();
   outfitBuilder.buildPantsType();
   outfitBuilder.buildShirtColor();
   outfitBuilder.buildSleeveSize();
 }
示例#2
0
 public Outfit getOutFit() {
   return outfitBuilder.getOutfit();
 }