文件名称:Java中工厂模式案例
文件大小:57KB
文件格式:ZIP
更新时间:2022-02-06 10:22:41
工程模式
1.简单工厂模式(simple factory)2.工厂方法模式(factory mathoud)3.抽象工厂模式(abstract factory)
【文件预览】:
工厂模式
----simplefactory()
--------SimFactory.java(326B)
--------TextSimpleFactory.java(247B)
--------Product.java(59B)
--------simpleFactory.java(237B)
--------Computer.java(155B)
--------Phone.java(139B)
----基本了解.docx(50KB)
----factorymathoud()
--------Factory.java(85B)
--------ComputerFactory.java(137B)
--------TestFactory.java(220B)
--------Product.java(60B)
--------PhoneFactory.java(131B)
--------Computer.java(174B)
--------Phone.java(197B)
----astractfactory()
--------LelovelFactory.java(254B)
--------IntelFactory.java(250B)
--------LelovelComputer.java(167B)
--------Factory.java(125B)
--------LelovelPhone.java(158B)
--------IntelComputer.java(173B)
--------TestAbstractFactory.java(295B)
--------Computer.java(61B)
--------LenovoComputer.java(172B)
--------LenovolPhone.java(165B)
--------Phone.java(58B)
--------LenovoFactory.java(252B)
--------IntelPhone.java(164B)