# | Line 24 | Line 24 | |
---|---|---|
24 | */ | |
25 | ||
26 | package java.util; | |
27 | + | |
28 | import java.util.function.Consumer; | |
28 | – | import java.util.stream.Stream; |
29 | ||
30 | /** | |
31 | * An unbounded priority {@linkplain Queue queue} based on a priority heap. | |
# | Line 77 | Line 77 | import java.util.stream.Stream; | |
77 | * | |
78 | * @since 1.5 | |
79 | * @author Josh Bloch, Doug Lea | |
80 | < | * @param <E> the type of elements held in this collection |
80 | > | * @param <E> the type of elements held in this queue |
81 | */ | |
82 | public class PriorityQueue<E> extends AbstractQueue<E> | |
83 | implements java.io.Serializable { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |