--- jsr166/src/main/java/util/PriorityQueue.java 2013/05/02 06:02:17 1.96 +++ jsr166/src/main/java/util/PriorityQueue.java 2013/10/22 15:21:30 1.98 @@ -65,7 +65,7 @@ import java.util.stream.Stream; * java.util.concurrent.PriorityBlockingQueue} class. * *
Implementation note: this implementation provides
- * O(log(n)) time for the enqueing and dequeing methods
+ * O(log(n)) time for the enqueuing and dequeuing methods
* ({@code offer}, {@code poll}, {@code remove()} and {@code add});
* linear time for the {@code remove(Object)} and {@code contains(Object)}
* methods; and constant time for the retrieval methods
@@ -743,6 +743,7 @@ public class PriorityQueue