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

Comparing jsr166/src/main/java/util/concurrent/SynchronousQueue.java (file contents):
Revision 1.95 by dl, Mon Feb 25 17:59:40 2013 UTC vs.
Revision 1.96 by dl, Wed Mar 13 12:39:02 2013 UTC

# Line 1053 | Line 1053 | public class SynchronousQueue<E> extends
1053          public void remove() { throw new IllegalStateException(); }
1054      }
1055  
1056 <    Spliterator<E> spliterator() {
1056 >    public Spliterator<E> spliterator() {
1057          return Spliterators.emptySpliterator();
1058      }
1059  
1060    public Stream<E> stream() {
1061        return Streams.stream(spliterator());
1062    }
1063
1064    public Stream<E> parallelStream() {
1065        return Streams.parallelStream(spliterator());
1066    }
1067
1060      /**
1061       * Returns a zero-length array.
1062       * @return a zero-length array

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines