文件名称:Builder
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:108.26kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
建造者模式编程,完整代码及运行结果截图
题目:
比如我们要通过一个汽车加工厂,组装一辆汽车;汽车由车头,车身,车尾3部分组成;它的基本组装步骤是:
组装车头
组装车身
组装车尾
不管被组装的是吉普车,卡车,还是公交车,它们都可以各自重新定义车头,车身与车尾的组装方法;而通过这些被重新定义的组装方法,通过相同的组装步骤就可以组装具有不同属性的各类汽车了。-Model builder program code and operating results capture the full title: for example we have to pass a car factory, assembling a car car from the front, body, rear 3 parts its basic assembly steps: assembly of the front body assembly Regardless of the rear assembly is being assembled jeeps, trucks, or buses, they can redefine their own front, rear body and the assembly method being redefined through the assembly of these methods, the assembly through the same steps can be assembled with different types of attributes cars.
题目:
比如我们要通过一个汽车加工厂,组装一辆汽车;汽车由车头,车身,车尾3部分组成;它的基本组装步骤是:
组装车头
组装车身
组装车尾
不管被组装的是吉普车,卡车,还是公交车,它们都可以各自重新定义车头,车身与车尾的组装方法;而通过这些被重新定义的组装方法,通过相同的组装步骤就可以组装具有不同属性的各类汽车了。-Model builder program code and operating results capture the full title: for example we have to pass a car factory, assembling a car car from the front, body, rear 3 parts its basic assembly steps: assembly of the front body assembly Regardless of the rear assembly is being assembled jeeps, trucks, or buses, they can redefine their own front, rear body and the assembly method being redefined through the assembly of these methods, the assembly through the same steps can be assembled with different types of attributes cars.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
建造者模式运行结果截图.png
ProduceCar/.classpath
ProduceCar/.project
ProduceCar/bin/Car.class
ProduceCar/bin/CarBuilder.class
ProduceCar/bin/CarDirector.class
ProduceCar/bin/Client.class
ProduceCar/bin/JeepBuilder.class
ProduceCar/src/Car.java
ProduceCar/src/CarBuilder.java
ProduceCar/src/CarDirector.java
ProduceCar/src/Client.java
ProduceCar/src/JeepBuilder.java
ProduceCar/bin
ProduceCar/src
ProduceCar
ProduceCar/.classpath
ProduceCar/.project
ProduceCar/bin/Car.class
ProduceCar/bin/CarBuilder.class
ProduceCar/bin/CarDirector.class
ProduceCar/bin/Client.class
ProduceCar/bin/JeepBuilder.class
ProduceCar/src/Car.java
ProduceCar/src/CarBuilder.java
ProduceCar/src/CarDirector.java
ProduceCar/src/Client.java
ProduceCar/src/JeepBuilder.java
ProduceCar/bin
ProduceCar/src
ProduceCar
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.