# | Line 26 | Line 26 | public class DelayQueue<E extends Delaye | |
---|---|---|
26 | implements BlockingQueue<E> { | |
27 | ||
28 | private transient final ReentrantLock lock = new ReentrantLock(); | |
29 | < | private transient final Condition available = lock.newCondition(); |
29 | > | private transient final ReentrantLock.ConditionObject available = lock.newCondition(); |
30 | private final PriorityQueue<E> q = new PriorityQueue<E>(); | |
31 | ||
32 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |