文件名称:Test
-
所属分类:
- 标签属性:
- 上传时间:2015-09-11
-
文件大小:877byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
现有一个字符串数组str_arr,其中共有20 个元素,欲调用java.util.Arrays.sort()
方法对其进行排序。请编写java.util.Comparator 的实现类,将两个字符串的比较
规则改为:先将字符串中的数字’0’~’9’分别替换成字母’a’~’j’,并忽略字母的大
小写。测试该实现类的正确性。-The existing string array str_arr, which is a total of 20 elements, to call java.util.Arrays.sort () method to sort. Please write the realization of the java.util.Comparator class, the two strings of the comparison rules: first the number 0 ~ 9 to a J , and ignore the size of the letter. Test the correctness of the implementation class.
方法对其进行排序。请编写java.util.Comparator 的实现类,将两个字符串的比较
规则改为:先将字符串中的数字’0’~’9’分别替换成字母’a’~’j’,并忽略字母的大
小写。测试该实现类的正确性。-The existing string array str_arr, which is a total of 20 elements, to call java.util.Arrays.sort () method to sort. Please write the realization of the java.util.Comparator class, the two strings of the comparison rules: first the number 0 ~ 9 to a J , and ignore the size of the letter. Test the correctness of the implementation class.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Test2.class
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.