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

Comparing jsr166/src/jdk8/java/util/PriorityQueue.java (file contents):
Revision 1.2 by jsr166, Fri Jun 17 19:51:09 2016 UTC vs.
Revision 1.4 by jsr166, Sun Dec 18 21:53:44 2016 UTC

# Line 630 | Line 630 | public class PriorityQueue<E> extends Ab
630       * promoting x up the tree until it is greater than or equal to
631       * its parent, or is the root.
632       *
633 <     * To simplify and speed up coercions and comparisons. the
633 >     * To simplify and speed up coercions and comparisons, the
634       * Comparable and Comparator versions are separated into different
635       * methods that are otherwise identical. (Similarly for siftDown.)
636       *
# Line 749 | Line 749 | public class PriorityQueue<E> extends Ab
749      /**
750       * Saves this queue to a stream (that is, serializes it).
751       *
752 +     * @param s the stream
753 +     * @throws java.io.IOException if an I/O error occurs
754       * @serialData The length of the array backing the instance is
755       *             emitted (int), followed by all of its elements
756       *             (each an {@code Object}) in the proper order.
755     * @param s the stream
756     * @throws java.io.IOException if an I/O error occurs
757       */
758      private void writeObject(java.io.ObjectOutputStream s)
759          throws java.io.IOException {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines