文件名称:工厂方法模式和抽象工厂模式
文件大小:9KB
文件格式:RAR
更新时间:2022-03-21 10:28:47
源码 工具
博文链接:https://linpyi.iteye.com/blog/226658
【文件预览】:
factory
----briefnessfactory()
--------FruitGardener.java(649B)
--------Fruit.java(216B)
--------BadFruitException.java(189B)
--------TestApp.java(860B)
--------Apple.java(693B)
--------Strawberry.java(579B)
--------Grape.java(849B)
----abstractfactory()
--------Gardener.java(216B)
--------Fruit.java(123B)
--------Veggie.java(126B)
--------TropicalGardener.java(339B)
--------NorthernVeggie.java(429B)
--------TropicalFruit.java(422B)
--------NorthernGardener.java(341B)
--------TropicalVeggie.java(425B)
--------TestApp.java(518B)
--------NorthernFruit.java(428B)
----methodfactory()
--------FruitGardener.java(210B)
--------Fruit.java(214B)
--------StrawberryGardener.java(343B)
--------TestApp.java(531B)
--------AppleGardener.java(329B)
--------GrapeGardener.java(328B)
--------Apple.java(690B)
--------Strawberry.java(498B)
--------Grape.java(846B)