• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅
07 2014 档案
java arrayCopy

摘要:int[] dest = new int[0]; int[] value = {1,2}; if(value != null && value.length>0) { int[] tmp = dest; dest = new int[va... 阅读全文
posted @ 2014-07-17 13:10 白开水皮皮 阅读(203) 评论(0) 推荐(0)
Java 正则表达式 向前、向后匹配

摘要://向后匹配String a = "I paid $90 for 10 oranges, 12 pears and 8 apples. I saved $5 on "; Pattern p = Pattern.compile("(?<=\\$)\\d+"); Matcher m = p.ma... 阅读全文
posted @ 2014-07-07 14:46 白开水皮皮 阅读(8161) 评论(0) 推荐(0)
postgres 正则表达式

摘要:PostgreSQL正则表达式基础:OperatorDescriptionExample~Matches regular expression, case sensitive'thomas' ~ '.*thomas.*'~*Matches regular expression, case insen... 阅读全文
posted @ 2014-07-05 15:12 白开水皮皮 阅读(374) 评论(0) 推荐(0)
java 分析方法调用过程

摘要:StackTraceElement[] s = new Exception().getStackTrace(); for(int i=0;i<s.length;i++) System.out.println(s[i].getClassName() + s[i].getMethodName())... 阅读全文
posted @ 2014-07-01 13:51 白开水皮皮 阅读(286) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3