# | Line 319 | Line 319 | public class PriorityBlockingQueue<E> ex | |
---|---|---|
319 | * To simplify and speed up coercions and comparisons, the | |
320 | * Comparable and Comparator versions are separated into different | |
321 | * methods that are otherwise identical. (Similarly for siftDown.) | |
322 | – | * These methods are static, with heap state as arguments, to |
323 | – | * simplify use in light of possible comparator exceptions. |
322 | * | |
323 | * @param k the position to fill | |
324 | * @param x the item to insert |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |