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 |
|
*/ |
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 |
|
* |
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. |
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 |