ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java (file contents):
Revision 1.135 by jsr166, Sun May 6 21:07:41 2018 UTC vs.
Revision 1.136 by jsr166, Sun May 6 22:40:35 2018 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines