[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.55, Tue Feb 26 17:28:00 2013 UTC revision 1.56, Wed Mar 13 12:39:02 2013 UTC
# Line 998  Line 998 
998      }      }
999    
1000    
1001      Spliterator<E> spliterator() {      public Spliterator<E> spliterator() {
1002          return new LTQSpliterator<E>(this);          return new LTQSpliterator<E>(this);
1003      }      }
1004    
     public Stream<E> stream() {  
         return Streams.stream(spliterator());  
     }  
   
     public Stream<E> parallelStream() {  
         return Streams.parallelStream(spliterator());  
     }  
   
1005      /* -------------- Removal methods -------------- */      /* -------------- Removal methods -------------- */
1006    
1007      /**      /**

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8