yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理

2015年11月13日 #

摘要: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fpreferences%2Fjava%2Fcompiler%2Fref-preferences-errors-warnings... 阅读全文
posted @ 2015-11-13 15:33 xxxxxxxx1x2xxxxxxx 阅读(189) 评论(0) 推荐(0)

摘要: sort sort 命令对 File 参数指定的文件中的行排序,并将结果写到标准输出。如果 File 参数指定多个文件,那么 sort 命令将这些文件连接起来,并当作一个文件进行排序。 sort语法 [root@www ~]# sort [-fbMnrtuk] [file or stdin] 选项与 阅读全文
posted @ 2015-11-13 15:32 xxxxxxxx1x2xxxxxxx 阅读(395) 评论(0) 推荐(0)

摘要: 1. String.trim()trim()是去掉首尾空格2.str.replace(" ", ""); 去掉所有空格,包括首尾、中间String str = " hell o ";String str2 = str.replaceAll("", "");System.out.println(str... 阅读全文
posted @ 2015-11-13 15:31 xxxxxxxx1x2xxxxxxx 阅读(197) 评论(0) 推荐(0)