Update July 2011:This list has been reviewed and
made current with the most recent Eclipse 3.7 release.If you are a Java
developer and use the new @Su...
分类:
其他好文 时间:
2014-06-12 17:10:17
阅读次数:
278
http://www.cplusplus.com/reference/list/list/#include
list l:初始化一个0大小的表list
l(10):初始化一个10个大小的表empty:是否为空size:大小max_size:可分配的最大值front:第一个元素back:最后一个元素p...
分类:
编程语言 时间:
2014-06-12 10:42:33
阅读次数:
241
类层次关系如下:Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMap下面来分别介绍Collection接口
Collection是最基本的集合接口,一个Collecti....
分类:
编程语言 时间:
2014-06-12 10:01:52
阅读次数:
290
闲来无事,翻了翻以前的代码,做点总结,菜鸟从这里起航,呵呵。一、List的foreach遍历
先上代码段[1]: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 ...
分类:
其他好文 时间:
2014-06-12 09:49:31
阅读次数:
195
Reverse Linked List IIReverse a linked list from
positionmton. Do it in-place and in one-pass.For example:Given
1->2->3->4->5->NULL, m= 2 andn= 4,retu...
分类:
其他好文 时间:
2014-06-12 07:03:54
阅读次数:
308
Partition ListGiven a linked list and a valuex,
partition it such that all nodes less thanxcome before nodes greater than or
equal tox.You should pres...
分类:
其他好文 时间:
2014-06-12 06:18:55
阅读次数:
562