Java
文章平均质量分 66
jgszhl_85
新手,来学习的
展开
-
Read notes for core java: Objects and classes
Due the data types in java are all referrence type,we must follows as bellows: 1. not to write accessor methods that return referrences to mutable objects.2. always use clone when原创 2010-04-28 14:53:00 · 277 阅读 · 0 评论 -
java 中 Collection, List, Map, Set的总结
<br />转自:http://bluefishyong.itpub.net/post/24555/278791<br />1.Collection List Set Map 区别记忆<br />这些都代表了Java中的集合,这里主要从其元素是否有序,是否可重复来进行区别记忆,以 便恰当地使用,当然还存在同步方面的差异,见上一篇相关文章。<br /> <br />有序否<br />允许元素重复否<br />Collection<br />否<br />是<br />List<br />是<br />是<b原创 2010-06-17 11:19:00 · 323 阅读 · 0 评论