# | Line 35 | Line 35 | public class PriorityBlockingQueue<E> ex | |
---|---|---|
35 | ||
36 | private final PriorityQueue<E> q; | |
37 | private final ReentrantLock lock = new ReentrantLock(true); | |
38 | < | private final Condition notEmpty = lock.newCondition(); |
38 | > | private final ReentrantLock.ConditionObject notEmpty = lock.newCondition(); |
39 | ||
40 | /** | |
41 | * Creates a <tt>PriorityBlockingQueue</tt> with the default initial |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |