--- jsr166/src/main/java/util/Deque.java 2005/04/29 02:00:39 1.5 +++ jsr166/src/main/java/util/Deque.java 2005/05/02 17:34:02 1.7 @@ -27,7 +27,8 @@ package java.util; *

The twelve methods described above are summarized in the * following table: * - *

+ *

+ *

* * * @@ -69,7 +70,8 @@ package java.util; * inherited from the Queue interface are precisely equivalent to * Deque methods as indicated in the following table: * - *

First Element (Head)
+ *

+ *

* * * @@ -106,7 +108,8 @@ package java.util; * beginning of the deque. Stack methods are precisely equivalent to * Deque methods as indicated in the table below: * - *

Queue Method Equivalent Deque Method
+ *

+ *

* * * @@ -231,7 +234,7 @@ public interface Deque extends Queue< /** * Retrieves and removes the first element of this deque. This method - * differs from the pollFirst method only in that it throws an + * differs from the {@link #pollFirst} method only in that it throws an * exception if this deque is empty. * * @return the first element of this deque @@ -241,7 +244,7 @@ public interface Deque extends Queue< /** * Retrieves and removes the last element of this deque. This method - * differs from the pollLast method only in that it throws an + * differs from the {@link #pollLast} method only in that it throws an * exception if this deque is empty. * * @return the last element of this deque @@ -269,7 +272,7 @@ public interface Deque extends Queue< /** * Retrieves, but does not remove, the first element of this - * deque. This method differs from the peekFirst method only + * deque. This method differs from the {@link #peekFirst} method only * in that it throws an exception if this deque is empty. * * @return the first element of this deque @@ -279,7 +282,7 @@ public interface Deque extends Queue< /** * Retrieves, but does not remove, the last element of this - * deque. This method differs from the peekLast method only + * deque. This method differs from the {@link #peekLast} method only * in that it throws an exception if this deque is empty. * * @return the last element of this deque @@ -367,7 +370,7 @@ public interface Deque extends Queue< /** * Retrieves and removes the head of the queue represented by this deque. - * This method differs from the poll method only in that it + * This method differs from the {@link #poll} method only in that it * throws an exception if this deque is empty. * *

This method is equivalent to {@link #removeFirst()}. @@ -390,7 +393,7 @@ public interface Deque extends Queue< /** * Retrieves, but does not remove, the head of the queue represented by - * this deque. This method differs from the peek method only in + * this deque. This method differs from the {@link #peek} method only in * that it throws an exception if this deque is empty. * *

This method is equivalent to {@link #getFirst()}.

Stack Method Equivalent Deque Method