ConcurrentLinkedQueue实现的数据结构?

千锋教育

ConcurrentLinkedQueue的数据结构与LinkedBlockingQueue的数据结构相同,都是使用的链表结构。


ConcurrentLinkedQueue的数据结构如下:


说明: ConcurrentLinkedQueue采用的链表结构,并且包含有一个头节点和一个尾结点。