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

Comparing jsr166/src/main/java/util/PriorityQueue.java (file contents):
Revision 1.106 by jsr166, Tue Jun 16 23:06:01 2015 UTC vs.
Revision 1.107 by jsr166, Sun Sep 20 16:20:21 2015 UTC

# Line 99 | Line 99 | public class PriorityQueue<E> extends Ab
99      /**
100       * The number of elements in the priority queue.
101       */
102 <    private int size;
102 >    int size;
103  
104      /**
105       * The comparator, or null if priority queue uses elements'
# Line 609 | Line 609 | public class PriorityQueue<E> extends Ab
609       * avoid missing traversing elements.
610       */
611      @SuppressWarnings("unchecked")
612 <    private E removeAt(int i) {
612 >    E removeAt(int i) {
613          // assert i >= 0 && i < size;
614          modCount++;
615          int s = --size;
# Line 828 | Line 828 | public class PriorityQueue<E> extends Ab
828  
829          /** Creates new spliterator covering the given range */
830          PriorityQueueSpliterator(PriorityQueue<E> pq, int origin, int fence,
831 <                             int expectedModCount) {
831 >                                 int expectedModCount) {
832              this.pq = pq;
833              this.index = origin;
834              this.fence = fence;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines