# | Line 15 | Line 15 | package java.util; | |
---|---|---|
15 | * {@link java.util.Comparator}, depending on which constructor is | |
16 | * used. A priority queue does not permit <tt>null</tt> elements. | |
17 | * A priority queue relying on natural ordering also does not | |
18 | < | * permit insertion of non-comparable objects (doing so results |
18 | > | * permit insertion of non-comparable objects (doing so may result |
19 | * in <tt>ClassCastException</tt>). | |
20 | * | |
21 | * <p>The <em>head</em> of this queue is the <em>least</em> element |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |