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.89 by dl, Sun Feb 17 23:36:16 2013 UTC vs.
Revision 1.90 by jsr166, Mon Feb 18 01:30:23 2013 UTC

# Line 822 | Line 822 | public class PriorityQueue<E> extends Ab
822              }
823              return hi;
824          }
825 <            
825 >
826          public PriorityQueueSpliterator<E> trySplit() {
827              int hi = getFence(), lo = index, mid = (lo + hi) >>> 1;
828              return (lo >= mid) ? null :
829 <                new PriorityQueueSpliterator<E>(pq, lo, index = mid,
829 >                new PriorityQueueSpliterator<E>(pq, lo, index = mid,
830                                                  expectedModCount);
831          }
832  
# Line 875 | Line 875 | public class PriorityQueue<E> extends Ab
875              return false;
876          }
877  
878 <        public long estimateSize() {
879 <            return (long) (getFence() - index);
878 >        public long estimateSize() {
879 >            return (long) (getFence() - index);
880          }
881  
882          public int characteristics() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines