# | Line 829 | Line 829 | public class PriorityBlockingQueue<E> ex | |
---|---|---|
829 | final class Itr implements Iterator<E> { | |
830 | final Object[] array; // Array of all elements | |
831 | int cursor; // index of next element to return | |
832 | < | int lastRet; // index of last element, or -1 if no such |
832 | > | int lastRet = -1; // index of last element, or -1 if no such |
833 | ||
834 | Itr(Object[] array) { | |
835 | – | lastRet = -1; |
835 | this.array = array; | |
836 | } | |
837 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |