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.20 by dholmes, Tue Aug 5 06:18:17 2003 UTC vs.
Revision 1.21 by dholmes, Tue Aug 5 06:49:51 2003 UTC

# Line 78 | Line 78 | public class PriorityQueue<E> extends Ab
78      private transient int modCount = 0;
79  
80      /**
81 <     * Create a <tt>PriorityQueue</tt> with the default initial capacity
81 >     * Creates a <tt>PriorityQueue</tt> with the default initial capacity
82       * (11) that orders its elements according to their natural
83       * ordering (using <tt>Comparable</tt>.)
84       */
# Line 87 | Line 87 | public class PriorityQueue<E> extends Ab
87      }
88  
89      /**
90 <     * Create a <tt>PriorityQueue</tt> with the specified initial capacity
90 >     * Creates a <tt>PriorityQueue</tt> with the specified initial capacity
91       * that orders its elements according to their natural ordering
92       * (using <tt>Comparable</tt>.)
93       *
# Line 98 | Line 98 | public class PriorityQueue<E> extends Ab
98      }
99  
100      /**
101 <     * Create a <tt>PriorityQueue</tt> with the specified initial capacity
101 >     * Creates a <tt>PriorityQueue</tt> with the specified initial capacity
102       * that orders its elements according to the specified comparator.
103       *
104       * @param initialCapacity the initial capacity for this priority queue.
# Line 116 | Line 116 | public class PriorityQueue<E> extends Ab
116      }
117  
118      /**
119 <     * Create a <tt>PriorityQueue</tt> containing the elements in the specified
120 <     * collection.  The priority queue has an initial capacity of 110% of the
119 >     * Creates a <tt>PriorityQueue</tt> containing the elements in the
120 >     * specified collection.  
121 >     * The priority queue has an initial capacity of 110% of the
122       * size of the specified collection or 1 if the collection is empty.
123       * If the specified collection
124       * implements the {@link Sorted} interface, the priority queue will be

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines