111 |
|
* The number of times this priority queue has been |
112 |
|
* <i>structurally modified</i>. See AbstractList for gory details. |
113 |
|
*/ |
114 |
< |
transient int modCount = 0; // non-private to simplify nested class access |
114 |
> |
transient int modCount; // non-private for nested class access |
115 |
|
|
116 |
|
/** |
117 |
|
* Creates a {@code PriorityQueue} with the default initial |
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()}. |