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

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.66 by jsr166, Thu Jul 18 18:21:22 2013 UTC vs.
Revision 1.67 by jsr166, Thu Aug 8 15:13:34 2013 UTC

# Line 993 | Line 993 | public class LinkedTransferQueue<E> exte
993          }
994      }
995  
996 +    /**
997 +     * Returns a {@link Spliterator} over the elements in this queue.
998 +     *
999 +     * <p>The {@code Spliterator} reports {@link Spliterator#CONCURRENT},
1000 +     * {@link Spliterator#ORDERED}, and {@link Spliterator#NONNULL}.
1001 +     *
1002 +     * @implNote
1003 +     * The {@code Spliterator} implements {@code trySplit} to permit limited
1004 +     * parallelism.
1005 +     *
1006 +     * @return a {@code Spliterator} over the elements in this queue
1007 +     * @since 1.8
1008 +     */
1009      public Spliterator<E> spliterator() {
1010          return new LTQSpliterator<E>(this);
1011      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines