--- jsr166/src/main/java/util/Queue.java 2005/04/29 02:00:39 1.25 +++ jsr166/src/main/java/util/Queue.java 2005/05/02 17:34:02 1.28 @@ -18,7 +18,8 @@ package java.util; * implementations; in most implementations, insert operations cannot * fail. * - *

+ *

+ *

* * * @@ -120,11 +121,11 @@ public interface Queue extends Collec * preferable to method {@link Collection#add}, which can fail to * insert an element only by throwing an exception. * - * @param o the element to insert. + * @param e the element to insert. * @return true if it was possible to add the element to * this queue, else false */ - boolean offer(E o); + boolean offer(E e); /** * Retrieves and removes the head of this queue, or null @@ -137,7 +138,7 @@ public interface Queue extends Collec /** * Retrieves and removes the head of this queue. This method - * differs from the poll method in that it throws an + * differs from the {@link #poll} method only in that it throws an * exception if this queue is empty. * * @return the head of this queue. @@ -156,7 +157,7 @@ public interface Queue extends Collec /** * Retrieves, but does not remove, the head of this queue. This method - * differs from the peek method only in that it throws an + * differs from the {@link #peek} method only in that it throws an * exception if this queue is empty. * * @return the head of this queue.
Throws exception