# | Line 522 | Line 522 | public class PriorityQueue<E> extends Ab | |
---|---|---|
522 | */ | |
523 | private int expectedModCount = modCount; | |
524 | ||
525 | + | Itr() {} // prevent access constructor creation |
526 | + | |
527 | public boolean hasNext() { | |
528 | return cursor < size || | |
529 | (forgetMeNot != null && !forgetMeNot.isEmpty()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |