LinkedBlockingQueue源码分析

LinkedBlockingQueue是基于链表的阻塞队列,其类定义以下所示java static class Node<E> {//节点的定义 E item; Node<E> next; Node(E x) { item = x; } } /** 队列的容量,默认为Integer.MAX_VALUE */ privat
相关文章
相关标签/搜索