[cvs] / jsr166 / src / main / java / util / PriorityQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/PriorityQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.92, Mon Feb 18 03:15:10 2013 UTC revision 1.93, Tue Feb 26 17:28:00 2013 UTC
# Line 795  Line 795 
795          return Streams.parallelStream(spliterator());          return Streams.parallelStream(spliterator());
796      }      }
797    
798      static final class PriorityQueueSpliterator<E> implements Spliterator<E> {      /**
799          /*       * This is very similar to ArrayList Spliterator, except for extra
800           * This is very similar to ArrayList Spliterator, except for       * null checks.
          * extra null checks.  
801           */           */
802        static final class PriorityQueueSpliterator<E> implements Spliterator<E> {
803          private final PriorityQueue<E> pq;          private final PriorityQueue<E> pq;
804          private int index;            // current index, modified on advance/split          private int index;            // current index, modified on advance/split
805          private int fence;            // -1 until first use          private int fence;            // -1 until first use

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8