48 |
|
private transient Node<E> head = new Node<E>(null); |
49 |
|
private transient Node<E> last = head; |
50 |
|
|
51 |
< |
private transient final ReentrantLock takeLock = new ReentrantLock(); |
52 |
< |
private transient final Condition notEmpty = takeLock.newCondition(); |
51 |
> |
private final ReentrantLock takeLock = new ReentrantLock(); |
52 |
> |
private final Condition notEmpty = takeLock.newCondition(); |
53 |
|
|
54 |
< |
private transient final ReentrantLock putLock = new ReentrantLock(); |
55 |
< |
private transient final Condition notFull = putLock.newCondition(); |
54 |
> |
private final ReentrantLock putLock = new ReentrantLock(); |
55 |
> |
private final Condition notFull = putLock.newCondition(); |
56 |
|
|
57 |
|
|
58 |
|
/** |