--- jsr166/src/main/java/util/Queue.java 2003/08/04 01:54:13 1.13 +++ jsr166/src/main/java/util/Queue.java 2003/08/06 01:57:53 1.15 @@ -61,7 +61,7 @@ package java.util; * @see java.util.Collection * @see LinkedList * @see PriorityQueue - * @see java.util.concurrent.LinkedQueue + * @see java.util.concurrent.LinkedBlockingQueue * @see java.util.concurrent.BlockingQueue * @see java.util.concurrent.ArrayBlockingQueue * @see java.util.concurrent.LinkedBlockingQueue @@ -72,7 +72,7 @@ package java.util; public interface Queue extends Collection { /** - * Add the specified element to this queue, if possible. + * Adds the specified element to this queue, if possible. * * @param o the element to add. * @return true if it was possible to add the element to @@ -81,7 +81,7 @@ public interface Queue extends Collec boolean offer(E o); /** - * Retrieve and remove the head of this queue, if it is available. + * Retrieves and removes the head of this queue, if it is available. * * @return the head of this queue, or null if this * queue is empty. @@ -89,7 +89,7 @@ public interface Queue extends Collec E poll(); /** - * Retrieve and remove the head of this queue. + * Retrieves and removes the head of this queue. * This method differs * from the poll method in that it throws an exception if this * queue is empty. @@ -100,7 +100,7 @@ public interface Queue extends Collec E remove(); /** - * Retrieve, but do not remove, the head of this queue. + * Retrieves, but does not remove, the head of this queue. * This method differs from the poll * method only in that this method does not remove the head element from * this queue. @@ -110,7 +110,7 @@ public interface Queue extends Collec E peek(); /** - * Retrieve, but do not remove, the head of this queue. This method + * Retrieves, but does not remove, the head of this queue. This method * differs from the peek method only in that it throws an * exception if this queue is empty. *