java集合
2021-05-01 19:28
标签:serial mil ble array rabl class 概念 接口 justify 一,集合 (1)Collection ArrayList 数组结构 LinkedList 链表结构 (2)Map
+链表
新增Entry >=2 >=8
删除Entry
(3)Serializable:序列化接口
(4)Iterable
Class Xxx implement Iterable
Iterator
.....
}
}
Xxx
//迭代器遍历模型
Iterator
While(it.hasNext()){
T t = it.next();
.....
}
增强型for循环遍历:底层是迭代器
for(T t : xxx){
t...
}
java集合
标签:serial mil ble array rabl class 概念 接口 justify
原文地址:https://www.cnblogs.com/zzyz/p/13205976.html