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

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

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

revision 1.108, Sat Dec 24 16:56:09 2016 UTC revision 1.109, Sat Dec 24 18:13:56 2016 UTC
# Line 986  Line 986 
986      }      }
987    
988      /** A customized variant of Spliterators.IteratorSpliterator */      /** A customized variant of Spliterators.IteratorSpliterator */
989      final class LTQSpliterator<E> implements Spliterator<E> {      final class LTQSpliterator implements Spliterator<E> {
990          static final int MAX_BATCH = 1 << 25;  // max batch array size;          static final int MAX_BATCH = 1 << 25;  // max batch array size;
991          Node current;       // current node; null until initialized          Node current;       // current node; null until initialized
992          int batch;          // batch size for splits          int batch;          // batch size for splits
# Line 1104  Line 1104 
1104       * @since 1.8       * @since 1.8
1105       */       */
1106      public Spliterator<E> spliterator() {      public Spliterator<E> spliterator() {
1107          return new LTQSpliterator<E>();          return new LTQSpliterator();
1108      }      }
1109    
1110      /* -------------- Removal methods -------------- */      /* -------------- Removal methods -------------- */

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8