--- jsr166/src/jsr166x/Deque.java 2011/03/15 19:47:02 1.10 +++ jsr166/src/jsr166x/Deque.java 2013/01/16 00:51:11 1.11 @@ -10,7 +10,7 @@ import java.util.*; // XXX This impor /** * A linear collection that supports element insertion and removal at * both ends. The name deque is short for "double ended queue" - * and is usually pronounced "deck". Most Deque + * and is usually pronounced "deck". Most {@code Deque} * implementations place no fixed limits on the number of elements * they may contain, but this interface supports capacity-restricted * deques as well as those with no fixed size limit. @@ -19,10 +19,10 @@ import java.util.*; // XXX This impor * ends of the deque. Methods are provided to insert, remove, and * examine the element. Each of these methods exists in two forms: * one throws an exception if the operation fails, the other returns a - * special value (either null or false, depending on + * special value (either {@code null} or {@code false}, depending on * the operation). The latter form of the insert operation is * designed specifically for use with capacity-restricted - * Deque implementations; in most implementations, insert + * {@code Deque} implementations; in most implementations, insert * operations cannot fail. * *
The twelve methods described above are summarized in the @@ -67,13 +67,13 @@ import java.util.*; // XXX This impor *
This interface extends the {@link Queue} interface. When a deque is * used as a queue, FIFO (First-In-First-Out) behavior results. Elements are * added to the end of the deque and removed from the beginning. The methods - * inherited from the Queue interface are precisely equivalent to - * Deque methods as indicated in the following table:
+ * inherited from the {@code Queue} interface are precisely equivalent to + * {@code Deque} methods as indicated in the following table:
* *
Queue Method | - *Equivalent Deque Method | + *{@code Queue} Method | + *Equivalent {@code Deque} Method | *
Stack Method | - *Equivalent Deque Method | + *Equivalent {@code Deque} Method | *