List类Vector和ArrayList的区别:1版本不同,Vector属于jdk1.0,而ArrayList属于jdk1.2后的版本。2,效率上ArrayList比Vector要高,同时vector线程安全,而arraylist线程不安全。ArrayList与LinkedList的区别:1,结构...
分类:
其他好文 时间:
2014-07-22 23:07:12
阅读次数:
237
Linux tar command usageLinux tar command
usageTable of Contents1. Create an archive:2. Create a gzipped archive:3. List
the files in an archive4. Add ...
分类:
系统相关 时间:
2014-05-01 16:16:01
阅读次数:
586
List lst = new List(); lst.Add(new Person("A",
"1")); lst.Add(new Person("C", "2")); lst.Add(new Person("B", "3")); ...
下面是Jquery中AJAX参数详细列表:参数名类型描述urlString(默认:
当前页地址) 发送请求的地址。typeString(默认: "GET") 请求方式 ("POST" 或 "GET"), 默认为 "GET"。注意:其它 HTTP
请求方法,如 PUT 和 DELETE 也可以使用,但...
分类:
Web程序 时间:
2014-05-01 15:51:18
阅读次数:
504
使用正则表达式,对QQ群聊天记录进行解析,用于分析日期、成员等维度发言情况。
原始文本是2014-03-28 15:04:25 №┽◎Eagle(369029696) 解析之后yyyy=2014mm = 03dd = 28hh =
15mi =04ss = 25nick = №┽◎Eagleqq =...
分类:
编程语言 时间:
2014-05-01 15:44:08
阅读次数:
388
MVC3上次项目中遇到一个需要多个下拉列表联动的操作,今天有空将实现方式整理以便以后参考。要达到的效果是,点击一个下拉框,则另一个下拉框的值发生对应变化。如:选择中国,则另个一下拉框里显示中国各个省份。传统的HTML方式比较简单,实际上基于MVC的实现方式也大同小异。直接上代码:public
cla...
分类:
Web程序 时间:
2014-05-01 15:40:51
阅读次数:
422
原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You
must do this...
分类:
编程语言 时间:
2014-05-01 15:37:03
阅读次数:
441
领导让在存储过程中批量添加数据,找出效率最高的,我看到后台代码后,发现可以将list转换成DataTable,把DataTable转换成参数传入存储过程实现批量插入数据,知道还有其他的方法,不过这个方法已经实现,就写一下了:
1.创建表。CREATE TABLE [dbo].[person]( .....
分类:
其他好文 时间:
2014-05-01 15:00:10
阅读次数:
314
this list is very important , you can not
download what you want like fictx , flash-plugin , vm-tool and so onyou can use
the sites of China , also yo...
分类:
系统相关 时间:
2014-05-01 14:13:25
阅读次数:
561