# | Line 451 | Line 451 | public class PriorityQueue<E> extends Ab | |
---|---|---|
451 | * this queue | |
452 | * @throws NullPointerException if the specified array is null | |
453 | */ | |
454 | + | @SuppressWarnings("unchecked") |
455 | public <T> T[] toArray(T[] a) { | |
456 | if (a.length < size) | |
457 | // Make a new array of a's runtime type, but my contents: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |