Luouy~羽林
学问如逆水行舟,不进则退; 有知识的人不实践,等于一只蜜蜂不酿蜜; 我们可以由读书而收集知识,但必须利用思考把糠和谷子分开
摘要: Map List Set等集合类: 一、概述 在JAVA的util包中有两个所有集合的父接口Collection和Map,它们的父子关系: +Collection 这个接口extends自 --java.lang.Iterable接口 ├+List(接口 代表有序,可重复的集合。列表) │├ Arr 阅读全文
posted @ 2017-03-01 09:56 羽林.Luouy 阅读(827) 评论(0) 推荐(0)
摘要: import java.util.ArrayList; import java.util.List; public class test { public static void main(String[] args) throws Exception { /*测试合并两个类型相同的list*/ List list1 = new ArrayL... 阅读全文
posted @ 2017-03-01 09:39 羽林.Luouy 阅读(119850) 评论(0) 推荐(2)