equal
deleted
inserted
replaced
25 |
25 |
26 package java.util; |
26 package java.util; |
27 |
27 |
28 import java.util.function.Consumer; |
28 import java.util.function.Consumer; |
29 import java.util.function.Predicate; |
29 import java.util.function.Predicate; |
30 import jdk.internal.misc.SharedSecrets; |
30 import jdk.internal.access.SharedSecrets; |
31 |
31 |
32 /** |
32 /** |
33 * An unbounded priority {@linkplain Queue queue} based on a priority heap. |
33 * An unbounded priority {@linkplain Queue queue} based on a priority heap. |
34 * The elements of the priority queue are ordered according to their |
34 * The elements of the priority queue are ordered according to their |
35 * {@linkplain Comparable natural ordering}, or by a {@link Comparator} |
35 * {@linkplain Comparable natural ordering}, or by a {@link Comparator} |