# | Line 41 | Line 41 | import java.util.*; | |
---|---|---|
41 | public class DelayQueue<E extends Delayed> extends AbstractQueue<E> | |
42 | implements BlockingQueue<E> { | |
43 | ||
44 | < | private transient final ReentrantLock lock = new ReentrantLock(); |
44 | > | private final transient ReentrantLock lock = new ReentrantLock(); |
45 | private final PriorityQueue<E> q = new PriorityQueue<E>(); | |
46 | ||
47 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |