99 |
|
/** |
100 |
|
* The number of elements in the priority queue. |
101 |
|
*/ |
102 |
< |
private int size = 0; |
102 |
> |
private int size; |
103 |
|
|
104 |
|
/** |
105 |
|
* The comparator, or null if priority queue uses elements' |
476 |
|
* Index (into queue array) of element to be returned by |
477 |
|
* subsequent call to next. |
478 |
|
*/ |
479 |
< |
private int cursor = 0; |
479 |
> |
private int cursor; |
480 |
|
|
481 |
|
/** |
482 |
|
* Index of element returned by most recent call to next, |
496 |
|
* We expect that most iterations, even those involving removals, |
497 |
|
* will not need to store elements in this field. |
498 |
|
*/ |
499 |
< |
private ArrayDeque<E> forgetMeNot = null; |
499 |
> |
private ArrayDeque<E> forgetMeNot; |
500 |
|
|
501 |
|
/** |
502 |
|
* Element returned by the most recent call to next iff that |
503 |
|
* element was drawn from the forgetMeNot list. |
504 |
|
*/ |
505 |
< |
private E lastRetElt = null; |
505 |
> |
private E lastRetElt; |
506 |
|
|
507 |
|
/** |
508 |
|
* The modCount value that the iterator believes that the backing |