码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
Collections -- 集合的工具类
Collections是JDK针对集合提供的一个工具类,他提供一系列静态方法实现对各种集合的搜索、排序、线程安全化等操作。1、搜索如可以使用Collections提供的二分查找方法binarySearch()2、排序如可以使用Collections.sort()对List进行了排序3、线程安全化使用...
分类:其他好文   时间:2014-06-09 21:34:32    阅读次数:175
Project Browser & Inspector
【Project Browser】 You can drag items from the project structure list to the Favourites and also save search queries there. The filters work by add...
分类:其他好文   时间:2014-06-09 15:25:46    阅读次数:282
linux系统学习(二)
文件,目录 pwd:查看当前目录 Print Working Directory cd,ls(ll),mkdir -p Change Directory List Make Directory du -sh 评估目录或者文件大小 touch 创建新文件 ln -s source dest ...
分类:系统相关   时间:2014-06-09 00:05:22    阅读次数:334
list转成json,json转成list
list转json方法一、try { System.Runtime.Serialization.Json.DataContractJsonSerializer serializer = new System.Runtime.Serialization.Json.DataContractJsonSe....
分类:Web程序   时间:2014-06-08 22:54:27    阅读次数:268
LEETCODE--Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-06-08 21:56:41    阅读次数:297
kill one process
There is an need of kill one port is already in use. The command is : lsof -i:8000 There will be a list of: command pid user fd type device size...
分类:其他好文   时间:2014-06-08 21:47:33    阅读次数:366
泛型,动态创建List<T> (转摘)
第一种: static void Main() { object intList = MakeList(typeof(int), 1, 2, 3); object strList = MakeList(typeof(string), "sdfd", "fet"); //List foreach(o....
分类:其他好文   时间:2014-06-08 21:25:32    阅读次数:336
爬虫技术(四)-- 简单爬虫抓取示例(附c#代码)
这是我的第一个爬虫代码。。。算是一份测试版的代码。大牛大神别喷。。。通过给定一个初始的地址startPiont然后对网页进行捕捉,然后通过正则表达式对网址进行匹配。List todo:进行抓取的网址的集合List visited :已经访问过的网址的集合下面实现的是,给定一个初始地址,然后进行爬虫,...
分类:其他好文   时间:2014-06-08 19:57:54    阅读次数:309
struts1练习
(1)点击左侧List中的教师用户管理。/WebContent/common/pages/left.jsp/teacher_list.do">教师用户管理(2)根据stucts-config.xml文件中的注册信息请求相应的action。/WebContent/WEB-INF/stucts-conf...
分类:其他好文   时间:2014-06-08 19:36:48    阅读次数:264
Asp.net MVC 3实例学习之ExtShop(四)——完成产品列表页
在完成产品列表页前要做一些准备功夫。首先是去下载MvcPager用了为产品列表分页。下载的可能是基于MVC 2的,没关系,可以用在MVC 3上。如果有担心,下载源代码重新编译一次好了。下载后将DLL添加到引用里。 接着是要修改一下路由以实现“Catalog/List/[id]/[page]”的访问....
分类:Web程序   时间:2014-06-08 19:26:29    阅读次数:361
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!