文件名称:MAIN
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 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