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

Comparing jsr166/src/main/java/util/PriorityQueue.java (file contents):
Revision 1.102 by jsr166, Wed Dec 31 07:54:13 2014 UTC vs.
Revision 1.104 by jsr166, Tue Feb 17 18:55:39 2015 UTC

# Line 26 | Line 26
26   package java.util;
27  
28   import java.util.function.Consumer;
29 import java.util.stream.Stream;
29  
30   /**
31   * An unbounded priority {@linkplain Queue queue} based on a priority heap.
# Line 436 | Line 435 | public class PriorityQueue<E> extends Ab
435       * The following code can be used to dump the queue into a newly
436       * allocated array of {@code String}:
437       *
438 <     *  <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
438 >     * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
439       *
440       * Note that {@code toArray(new Object[0])} is identical in function to
441       * {@code toArray()}.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines