文件名称:MAIN
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.9kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1)写M类最后的参数,包括比较次数,开关频率,检测数量的属性,并重写构造和toString方法。
(2)写一个抽象类,它包括数据进行排序。最后提供了三种方法,分别比较,检测,交流在同一时间操作,有权改变的M类对象相关的属性的私有成员。并提供一个虚拟方法doSort,同时提供了最后一个方法排序(先设置初始值m对象,然后调用doSort方法返回一个对象引用男)
(3)撰写三种不同的方法排序的A类的派生类格A1,A2,± 3
(4)写一个测试类为主要类别,分别产生的A1和A2,A3和对象调用Sort方法,三种方法中的显示性能参数排序时间。
(5)谈谈这个类的设计是合理的,可以得到改善。-1) write a final parameters of class M, including the number of comparisons, switching frequency, detecting the number of attributes, and override the constructor and toString methods.
(2) to write an abstract class A, which includes the data to sort. Provides three final method, the respective comparison, detection, exchange operation at the same time, the right to change the private member of M-class objects related properties. And provide a virtual method doSort, while providing a final method sort (first set the initial value M object, then call doSort method returns an object reference M)
(3) Write three different methods to rank the A class derived class A1, A2, A3
(4) Write a test class as main class, were generated A1, A2, A3 of the object and call the sort method, three methods show the time in the sort of performance parameters.
(5) to talk about this class design is reasonable and can be improved.
(2)写一个抽象类,它包括数据进行排序。最后提供了三种方法,分别比较,检测,交流在同一时间操作,有权改变的M类对象相关的属性的私有成员。并提供一个虚拟方法doSort,同时提供了最后一个方法排序(先设置初始值m对象,然后调用doSort方法返回一个对象引用男)
(3)撰写三种不同的方法排序的A类的派生类格A1,A2,± 3
(4)写一个测试类为主要类别,分别产生的A1和A2,A3和对象调用Sort方法,三种方法中的显示性能参数排序时间。
(5)谈谈这个类的设计是合理的,可以得到改善。-1) write a final parameters of class M, including the number of comparisons, switching frequency, detecting the number of attributes, and override the constructor and toString methods.
(2) to write an abstract class A, which includes the data to sort. Provides three final method, the respective comparison, detection, exchange operation at the same time, the right to change the private member of M-class objects related properties. And provide a virtual method doSort, while providing a final method sort (first set the initial value M object, then call doSort method returns an object reference M)
(3) Write three different methods to rank the A class derived class A1, A2, A3
(4) Write a test class as main class, were generated A1, A2, A3 of the object and call the sort method, three methods show the time in the sort of performance parameters.
(5) to talk about this class design is reasonable and can be improved.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MAIN.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.