摘要: // 泛型的声明必须在方法的修饰符public,static,final,abstract等之后,返回值声明之前.public static void display(T t) { System.out.println(t.getClass());} 阅读全文
posted @ 2015-10-12 09:47 蒲木杉 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-09-30 11:28 蒲木杉 阅读(357) 评论(0) 推荐(0) 编辑
摘要: /*包含以下四种的链接*/a { text-decoration: none;}/*正常的未被访问过的链接*/a:link { text-decoration: none;}/*已经访问过的链接*/a:visited { text-decoration: none;}/*鼠标划过(... 阅读全文
posted @ 2015-09-30 09:56 蒲木杉 阅读(6629) 评论(0) 推荐(1) 编辑
摘要: -- 日期yyyy-MM-dd字符串与timestamp类型转换select to_char(startDate, 'yyyy-MM-dd') as start_date from start_date_info where startDate = to_timestamp('2015-09-24... 阅读全文
posted @ 2015-09-24 13:27 蒲木杉 阅读(629) 评论(0) 推荐(0) 编辑
摘要: cd到某目录下,把该目录下的所有文件以树形图的形式输出在file.txt文本中:tree /f > file.txt 阅读全文
posted @ 2015-09-23 10:22 蒲木杉 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 备注:type="text/html"和type="x-template"的区别我不知道,但是两者均可 阅读全文
posted @ 2015-09-11 16:16 蒲木杉 阅读(149) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ url: "", type: "post", async: false,// 默认为true:异步; false:同步 data: {}, dataType: "json", error: function() {}, success: f... 阅读全文
posted @ 2015-08-18 17:20 蒲木杉 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 备注:transform在IE8及其以下均不好使 阅读全文
posted @ 2015-08-04 17:07 蒲木杉 阅读(724) 评论(0) 推荐(0) 编辑
摘要: background: rgba(0, 0, 0, 0.9);filter: alpha(opacity = 90);/*-----------------------------HTML START----------------------------------*/设置浏览器的记忆功能具有图片... 阅读全文
posted @ 2015-07-23 15:56 蒲木杉 阅读(205) 评论(0) 推荐(0) 编辑
摘要: -- 一个汉字在数据库中占多少个字节select lengthb('蒲') from traveler_info; 阅读全文
posted @ 2015-07-22 15:12 蒲木杉 阅读(246) 评论(0) 推荐(0) 编辑