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