摘要:
---------数学函数 1.绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) valu... 阅读全文
posted @ 2009-11-05 23:41
哲夫
阅读(125)
评论(0)
推荐(0)
摘要:
package com.test;public class SubStr { public static void main(String args[]){ String source= "as他df我的world"; Invoke invoke = new Invoke(); Strin... 阅读全文
posted @ 2009-11-05 19:21
哲夫
阅读(114)
评论(0)
推荐(0)
摘要:
//以启动QQ为示例【参数为QQ的安装路径】try { String command = "C://Program Files//Tencent//QQ//QQ.exe"; Runtime r = Runtime.getRuntime(); r.exec(command);} catch (IOEx... 阅读全文
posted @ 2009-11-05 01:03
哲夫
阅读(125)
评论(0)
推荐(0)
摘要:
Pattern p = Pattern.compile("a*b");//正则表达式 Matcher m = p.matcher("aaaaab");//匹配的字符串 boolean b = m.matches();//等价于: boolean b2 = Pattern.matches("a*b"... 阅读全文
posted @ 2009-11-05 01:00
哲夫
阅读(103)
评论(0)
推荐(0)
浙公网安备 33010602011771号