??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲啪啪综合av一区二区三区,婷婷视频在线,成人免费激情视频http://www.aygfsteel.com/iLinux/to be a better man, to be a bad man. zh-cnTue, 17 Jun 2025 02:08:45 GMTTue, 17 Jun 2025 02:08:45 GMT60201601http://www.aygfsteel.com/iLinux/archive/2017/12/04/432933.htmliLinuxiLinuxMon, 04 Dec 2017 08:53:00 GMThttp://www.aygfsteel.com/iLinux/archive/2017/12/04/432933.htmlhttp://www.aygfsteel.com/iLinux/comments/432933.htmlhttp://www.aygfsteel.com/iLinux/archive/2017/12/04/432933.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/432933.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/432933.html2016q_(d)收获?jin)什么,失去?jin)什么?nbsp;
博客没有写作?br />国家大事件几多?/div>

iLinux 2017-12-04 16:53 发表评论
]]>
The Collections Frameworkhttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382393.htmliLinuxiLinuxFri, 06 Jul 2012 08:15:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382393.htmlhttp://www.aygfsteel.com/iLinux/comments/382393.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382393.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/382393.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/382393.html

The Collections Framework







The collections framework is a unified architecture for representing and manipulating collections, allowing them to be manipulated independently of the details of their representation. It reduces programming effort while increasing performance. It allows for interoperability among unrelated APIs, reduces effort in designing and learning new APIs, and fosters software reuse. The framework is based on fourteen collection interfaces. It includes implementations of these interfaces, and algorithms to manipulate them.
Overview
  • Overview - An overview of the Collections framework.
API Specification
  • API Reference - An annotated outline of the classes and interfaces comprising the collections framework, with links into the JavaDoc.
Tutorials and Programmer's Guides
  • Tutorial - A tutorial introduction to the collections framework with plenty of programming examples.
API EnhancementsMore Information
  • Design FAQ- Answers to frequently asked questions concerning the design of the collections framework.

From: http://docs.oracle.com/javase/6/docs/technotes/guides/collections/index.html


iLinux 2012-07-06 16:15 发表评论
]]>
JDK升API更改详细http://www.aygfsteel.com/iLinux/archive/2012/07/06/382392.htmliLinuxiLinuxFri, 06 Jul 2012 08:14:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382392.htmlhttp://www.aygfsteel.com/iLinux/comments/382392.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382392.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/382392.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/382392.htmlAPI Enhancements


iLinux 2012-07-06 16:14 发表评论
]]>
LinkedHashSet使用记http://www.aygfsteel.com/iLinux/archive/2012/07/06/382290.htmliLinuxiLinuxFri, 06 Jul 2012 03:54:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382290.htmlhttp://www.aygfsteel.com/iLinux/comments/382290.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/07/06/382290.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/382290.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/382290.html
它实C(jin)Set接口。存入Set的每个元素必L唯一的,因ؓ(f)Set不保存重复元素。但是Set接口不保证维护元素的ơ序Q那里面的元素每ơ顺序如何确定?TODOQ。Set与Collection有完全一L(fng)接口IterableQ同时Setl承?jin)Collection?br />
LinkedHashSethHashSet的查询速度Q且内部使用链表l护元素的顺序(插入的顺序)(j)Q于是在使用q代器便利SetӞl果?x)按元素插入的次序显C?br />
需求如Q?含多个(有重复)(j)元素ArrayListQ去除重复?br />
1Q?可以使用如下略显冗余的代码:(x)
 1 public static List removeDuplicateWithOrder(List list) {
 2         Set set = new HashSet();
 3         List newList = new ArrayList();
 4         for (Iterator iter = list.iterator(); iter.hasNext();) {
 5             Object element = iter.next();
 6             if (set.add(element))
 7                 newList.add(element);
 8         }
 9         return newList;
10     }
此方法有滥用set之嫌?br />
2Q?我们也可以用本文章中提?qing)的LinkedHashSetQ?br />
return new ArrayList<T>(new LinkedHashSet<T>(list));
此方法,既利用set去除?jin)重复,又用linked保持住了(jin)原顺序?br />
3Q?貌似apache commons lang中有专门去重复的集合工具?br />
q儿的链表操作是帔RU的Q这也是LinkedHashSet/LinkedHashMap比TreeSet/TreeMap性能更高的原因。当?dng)LinkedHashSet不是thread-safe的,在多U程环境下,需要进行同步包装:(x)
Collections.synchronizedCollection(Collection);
or:
Collections.synchronizedSet(Set);
在用LinkedHashSet的iterator()Ҏ(gu)遍历元素Ӟ如果其他U程有读取操作,也要q行同步Q否则,׃(x)抛出同其它fail-fast一L(fng)׃删除或增加操作而引L(fng)CurrentModificationException?br />

如上两种Ҏ(gu)的效率比较,设ؓ(f)TODOQ?br />1Q?利用set.add(element)Ҏ(gu)Q本质是利用其contains()Ҏ(gu)判断Q而contains()的本质就是遍历?br />JDK doc中写道:(x)
More formally, adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false. In combination with the restriction on constructors, this ensures that sets never contain duplicate elements.
2Q?试数据Q可以用数据量Q?WQ?WQ?0WQ?00W?br />


iLinux 2012-07-06 11:54 发表评论
]]>
HashMap, HashTablehttp://www.aygfsteel.com/iLinux/archive/2012/06/29/381848.htmliLinuxiLinuxFri, 29 Jun 2012 09:50:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/06/29/381848.htmlhttp://www.aygfsteel.com/iLinux/comments/381848.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/06/29/381848.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/381848.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/381848.html在当前的pȝ中,大量使用?jin)非泛型模式的Collection、List、Map、HashMap、HashTable?br />其关pR区别在于?

iLinux 2012-06-29 17:50 发表评论
]]>
传递温暖,拒绝h?/title><link>http://www.aygfsteel.com/iLinux/archive/2012/06/27/381657.html</link><dc:creator>iLinux</dc:creator><author>iLinux</author><pubDate>Wed, 27 Jun 2012 15:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/iLinux/archive/2012/06/27/381657.html</guid><wfw:comment>http://www.aygfsteel.com/iLinux/comments/381657.html</wfw:comment><comments>http://www.aygfsteel.com/iLinux/archive/2012/06/27/381657.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/iLinux/comments/commentRss/381657.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/iLinux/services/trackbacks/381657.html</trackback:ping><description><![CDATA[在美国得克萨斯州的一个风雪交加的夜晚Q一位名叫克h的年Mh因ؓ(f)汽R“抛锚”被困在郊外。正当他万分焦急的时候,有一位骑马的男子正yl过q里。见此情景,q位男子二话没说便用马帮助克h把汽车拉C(jin)镇上?事后Q当感激不尽的克h拿出不菲的美钞对他表C酬谢时Q这位男子说Q?#8220;q不需要回报,但我要你l我一个承诺,当别人有困难的时候,你也要尽力帮助他人?#8221;于是Q在后来的日子里Q克hd帮助?jin)许许多多的人,q且每次都没有忘记{q那句同L(fng)话给所有被他帮助的人?许多q后的一天,克雷斯被H然暴发的洪水困在了(jin)一个孤岛上Q一位勇敢的年冒着被洪水吞噬的危险救了(jin)他。当他感谢少q的时候,年竟然也说Z(jin)那句克雷斯曾说过无数ơ的话:(x)“q不需要回报,但我要你l我一个承?#8230;…” 克雷斯的怸时涌v?jin)一股暖暖的Ȁ:(x)“原来Q我Iv的这根关于爱的链条,周{?jin)无数的人,最后经q少q还l了(jin)我,我一生做的这些好事,全都是ؓ(f)我自己做的!”  当?zhn)有幸看到此消息时Q请转发l自q朋友亲h。我怿有更多的人需要我们的帮助Q?正义?x)传?邪恶也是如此Q?为现在的别h做善事也是ؓ(f)?jin)将来的自己?br />传递温暖,拒绝h?br />  1、如果钱q宽裕,别养二奶Q偷偷养几个贫困山区的学生,你心(j)里一定会(x)觉得舒坦Q?br />  2、遇到夜里摆地摊的,能买多C些,别还?sh)P东西都不c(din)家境哪怕好一点,谁会(x)大冷天夜里摆地摊Q?br />    遇到学生出来勤工俭学的,特别是中学生、小姑娘Q她卖什么你׃炏V如果她不是家庭困难Q出来打工也需要勇气的Q鼓励鼓励她吧;    <br />  3、捡到钱包就找找׃。如果你实在~钱把现金留下Q打?sh)话告诉׃p你在厕所里捡到的。把信用卡、n份证、驾驶执照还lhӞ一般别Z不会(x)在乎׃(jin)。把人家的地址记在你的W记本上Q以后发达了(jin)L人家道个歉,把钱q给人家Q?nbsp;   <br />  4、遇到问路的Q碰巧你又知道那个地址Q就d告诉一声。别不好意思,没有人笑话你Q?nbsp;    <br />  5、如果丢的垃N有碎ȝ、大头针、刀片等Q请用胶带把它们~裹一下,q尽量多~几层。这样就降低?jin)保zh员或者捡垃圾者被伤害的概率。他们大都是没有M的弱势群体,体脓(chung)体脓(chung)他们吧,好h?x)有好报的?br />  6、遇到迷路的孩和老头老太Q能送回安回Ӟ不能送回家的送上车、送到zև所也行。替老h或小孩打个电(sh)话再赎ͼ反正你也不缺那两个电(sh)话费Q?nbsp;    <br />  7、雨雪的时候、天L(fng)傍晚Q遇到卖菜的、卖水果的,剩的不多?jin)又不能回家Q能全买全乎ͼ不能全买׃一份,反正吃什么也是吃Q买下来让h早点回家Q?nbsp;   <br />  8、上车遇到老弱病h、孕妇,让的时候别动声Ԍ也别大张旗鼓。站h用n体挡住其他hQ留出空位子l需要的人,然后装作下R走远炏Vh太多实在Cq,人家向你表示谢意的时候微W一下;    <br />  9、不要对有精信늚人用猥亵a词,要知道中国h~就~在没有信Ԓ。这世界什么都在变Q什么都不可全信Q唯有信念不变、不动、永恒;    <br />  10、如果?zhn)的时间还宽裕Q把q几句话转几个群Q网上很多h看,转了(jin)?j)里舒坦?br />  11、一般情况,看完q段文章而且d到各个群里{发的人,都还是遗留着传统d的中国好?img src ="http://www.aygfsteel.com/iLinux/aggbug/381657.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/iLinux/" target="_blank">iLinux</a> 2012-06-27 23:08 <a href="http://www.aygfsteel.com/iLinux/archive/2012/06/27/381657.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AtomiccRSynchronized比较http://www.aygfsteel.com/iLinux/archive/2012/06/27/381433.htmliLinuxiLinuxWed, 27 Jun 2012 15:08:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/06/27/381433.htmlhttp://www.aygfsteel.com/iLinux/comments/381433.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/06/27/381433.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/381433.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/381433.html

iLinux 2012-06-27 23:08 发表评论
]]>
李小龙传?- 15 Kick-ass Bruce Lee quoteshttp://www.aygfsteel.com/iLinux/archive/2012/06/25/381441.htmliLinuxiLinuxMon, 25 Jun 2012 09:33:00 GMThttp://www.aygfsteel.com/iLinux/archive/2012/06/25/381441.htmlhttp://www.aygfsteel.com/iLinux/comments/381441.htmlhttp://www.aygfsteel.com/iLinux/archive/2012/06/25/381441.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/381441.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/381441.html
http://www.slideshare.net/thepresentationdesigner/15-kickass-bruce-lee-quotes


iLinux 2012-06-25 17:33 发表评论
]]>
OoOhttp://www.aygfsteel.com/iLinux/archive/2011/12/30/367580.htmliLinuxiLinuxFri, 30 Dec 2011 07:46:00 GMThttp://www.aygfsteel.com/iLinux/archive/2011/12/30/367580.htmlhttp://www.aygfsteel.com/iLinux/comments/367580.htmlhttp://www.aygfsteel.com/iLinux/archive/2011/12/30/367580.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/367580.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/367580.htmlhttp://www.bbc.co.uk/worldservice/learningenglish/language/wordsinthenews/2011/08/110803_witn_korea.shtml
http://developer.51cto.com/col/461/
http://www.google.com/search?q=runtimeexception&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a#sclient=psy&hl=en&client=firefox-a&rls=org.mozilla:zh-CN%3Aofficial&source=hp&q=spring3+%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86&pbx=1&oq=spring3+%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86&aq=f&aqi=&aql=&gs_sm=e&gs_upl=316376l316376l4l316608l1l1l0l0l0l0l0l0ll0l0&fp=1&biw=1280&bih=769&bav=on.2,or.r_gc.r_pw.,cf.osb&cad=b
http://www.infoq.com/cn/news/2011/01/git-adventures-1
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
http://www.linuxeden.com/forum/thread-191912-1-1.html
http://books.slashdot.org/story/04/11/12/2042249/How-Tomcat-Works
http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/orm.html#orm-hibernate
http://stackoverflow.com/questions/tagged/spring?sort=faq&pagesize=15
http://xiaolinjava.iteye.com/blog/684292
http://www.donews.com/original/201112/1011333.shtm
http://www.readwriteweb.com/archives/top_10_social_web_products_of_2011.php
http://www.readwriteweb.com/archives/the_10_biggest_web_news_stories_of_2011.php
http://blog.csdn.net/buoll/article/details/1851149
http://www.aygfsteel.com/masen/articles/118701.html
http://www.baidu.com/s?bs=org.springframework.jdbc.datasource.DriverManagerDataSource&f=8&rsv_bp=1&wd=tomcat+jndi&inputT=2640
http://home.51.com/xiaohei267/diary/item/10048051.html
http://blog.csdn.net/wzl002/article/details/5969635
http://www.baidu.com/s?bs=spring+controller+%D7%AA%B7%A2&f=8&rsv_bp=1&wd=spring+3.0+%B4%EE%BD%A8&inputT=7004
http://book.ifeng.com/lianzai/detail_2010_08/25/2309143_11.shtml
http://www.learnamericanenglishonline.com/
http://bulo.hjenglish.com/app/menu/558/
http://bulo.hjenglish.com/menu/zzk?langs=en


iLinux 2011-12-30 15:46 发表评论
]]>
学着高雅http://www.aygfsteel.com/iLinux/archive/2011/12/30/367538.htmliLinuxiLinuxThu, 29 Dec 2011 19:45:00 GMThttp://www.aygfsteel.com/iLinux/archive/2011/12/30/367538.htmlhttp://www.aygfsteel.com/iLinux/comments/367538.htmlhttp://www.aygfsteel.com/iLinux/archive/2011/12/30/367538.html#Feedback0http://www.aygfsteel.com/iLinux/comments/commentRss/367538.htmlhttp://www.aygfsteel.com/iLinux/services/trackbacks/367538.html?/span>沃夏克的《自新大?/span>交响曌Ӏ?卡拉扬指?br />




iLinux 2011-12-30 03:45 发表评论
]]>
վ֩ģ壺 | | | ɽ| | | Դ| | | | | | ұ| ҵ| | | | | | | ʡ| ɽ| | | | | | ˾| Ϫ| | ̨ǰ| | | ƽ| | | ʯʨ| | | | |