2013年11月23日
摘要: 思路:1,获取到字符串中的需要培训的数值(字符串中都是空格来对数值进行分隔的)2,把字符串对象的切割方法将字符串变为小串3,将小串变为int的数组4,对数值进行排序5,返回数组变为字符串 1 import java.util.Arrays; 2 3 public class WrapperTest { 4 private static final String SPACE_SEPARATOR=" "; 5 /** 6 * @param args 7 */ 8 public static void main(String[] args) { 9 ... 阅读全文
posted @ 2013-11-23 22:51 ざ柒 阅读(435) 评论(0) 推荐(0) 编辑