List(JDK1.7)(2)

LinkedList

List接口和Deque接口的一种双向链表实现。非同步的。3d

快速失败机制。ConcurrentModificationExceptionblog

image

 

结点结构

image

 

插入结点

image

image

 

删除结点

image

 

add()

image

remove()

image

clear()

image

 

get()

image

image

image

image

 

set()

image

和队列相关的操做

peek() 和 element()

image

poll() 和 remove()

image

offer()

image

和栈相关的操做

image

image

迭代器

image

image

image

image

image

 

降序迭代器

image

相关文章
相关标签/搜索