摘要: package replace; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; /** * 冒泡排序 */ public class test { public static void main(Strin... 阅读全文
posted @ 2017-07-27 10:12 IT_小树 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 淘宝网 API地址: http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=15850781443 参数: tel:手机号码 返回:JSON 拍拍 API地址: http://virtual.paipai.com/extinfo/GetMo 阅读全文
posted @ 2017-07-27 10:06 IT_小树 阅读(8140) 评论(0) 推荐(0) 编辑
摘要: 判断是否是闰年 详细设计: 1.被400整除是闰年,否则: 2.不能被4整除则不是闰年 3.能被4整除同时不能被100整除则是闰年 3.能被4整除同时能被100整除则不是闰年 详细设计: 1.如果date在1月,则为31日 2.如果date在2月,则为28日 3.如果date在3月,则为31日 4. 阅读全文
posted @ 2017-02-17 13:32 IT_小树 阅读(404) 评论(0) 推荐(0) 编辑
摘要: // 表达式对象 Pattern p = Pattern. compile("[\\\\?\\*\\:\\[\\]\\/]"); // 创建 Matcher 对象 Matcher n = p.matcher(systemName); M... 阅读全文
posted @ 2016-11-09 10:32 IT_小树 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 第一种 public static string GetMD5(string str) { //创建MD5对象 MD5 md5 = MD5.Create(); //开始使用MD5对象进行加密 byte[] buffer = Encoding.Default.GetBytes(str); byte[] 阅读全文
posted @ 2016-11-09 10:27 IT_小树 阅读(217) 评论(0) 推荐(0) 编辑
摘要: declare cnt number;begin 查询要创建的表是否存在 select count(*)into cnt from user_tables where table_name='USERLOG'; 如果存在则删除该表 if cnt>0 then dbms_output.put_line 阅读全文
posted @ 2016-09-27 17:35 IT_小树 阅读(1239) 评论(0) 推荐(0) 编辑
摘要: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.inv 阅读全文
posted @ 2016-08-11 13:47 IT_小树 阅读(425) 评论(0) 推荐(0) 编辑
摘要: oracle中存储过程的使用过程是指用于执行特定操作的PL/SQL块。如果客户应用经常需要执行特定操作,那么可以考虑基于这些操作建立过程。通过使用过程,不仅可以简化客户应用的开发和维护,而且可以提高应用程序的运行机能。一、 使用过程参数当建立过程时,既可以指定过程参数,也可以不提供任何参数。过程参数 阅读全文
posted @ 2016-04-27 15:27 IT_小树 阅读(496) 评论(0) 推荐(0) 编辑