码迷,mamicode.com
首页 >  
搜索关键字:list remove    ( 61976个结果
foreach 和 list.foreach 初步测试
1 单纯从速度上讲 小数据量下foreach 较快,list.Foreach 由于 public void ForEach(Action action) { if(action ==null) { ThrowHelper.ThrowArgumentNullExce...
分类:其他好文   时间:2014-05-16 04:37:23    阅读次数:224
黑马程序员——Java集合基础知识之Collection
集合基础知识——CollectionJava中集合框架由常用的Collection接口和Map接口组成,而Collection接口又有两个子接口,是List接口和Set接口,常用的集合框架由这三个类组成。List接口的功能方法List的使用最为简单,创建集合,通过add方法添加元素,get方法获取元...
分类:编程语言   时间:2014-05-16 04:23:01    阅读次数:363
android 横向list特效——规格滑动
首先,这个是在github开源项目HorizontalListView上作得修改,这个开源项目的下载地址我忘记了,贴一个引用网址:http://code.eoe.cn/233。 首先来说一下什么叫规格滑动: 上图就是规格滑动的合法状态:恰好显示一定数量的item,并且没有item处于一半显示...
分类:移动开发   时间:2014-05-16 03:49:03    阅读次数:621
[leetcode]_Reverse Integer
经历了三道树的题后,完全崩溃中,急需一道非树图的题来挽救信心。题目:反转数字。input : 123 , output : 321.思路:直接,没什么好说的。自己代码:很龊,有大量的冗余信息,还申请了一个List,虽然AC了,但有很大改进空间。public int reverse(int x) { ...
分类:其他好文   时间:2014-05-15 14:22:31    阅读次数:212
Linux下chkconfig命令详解
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:系统相关   时间:2014-05-15 10:28:17    阅读次数:406
Linux设置开机服务自动启动
[root@localhost ~]# chkconfig --list 显示开机可以自动启动的服务[root@localhost ~]# chkconfig --add *** 添加开机自动启动***服务[root@localhost ~]# chkconfig --del *** 删除开机自动启...
分类:系统相关   时间:2014-05-15 09:47:40    阅读次数:367
jquery.min.js v1.10.3版本autocomplete方法会在text前添加搜索出多少项的文本信息 要去除
http://stackoverflow.com/questions/13011127/how-to-remove-change-jquery-ui-autocomplete-helper-textHow to remove/change JQuery UI Autocomplete Helper ...
分类:Web程序   时间:2014-05-15 09:37:18    阅读次数:464
java并发编程之Guarded Suspention
当客户端请求速度远远大于服务端的处理速度,这时候就非常适合使用GuardedSuspention模式packagecn.fcl.guardendSuspension; importjava.util.ArrayList; importjava.util.List; publicclassRequestQueue{ privateList<Integer>integers=newArrayList<Integer>(); ..
分类:编程语言   时间:2014-05-15 09:08:21    阅读次数:283
ubuntu安装小细节
ubuntu源文件所在目录:/etc/apt/sources.list查看ubuntu版本号:sudolsb_release-a
分类:其他好文   时间:2014-05-15 08:40:21    阅读次数:192
LeetCode--Linked List Cycle
Linked List Cycle  Total Accepted: 17148 Total Submissions: 49300My Submissions Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra sp...
分类:其他好文   时间:2014-05-15 00:13:50    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!