--- jsr166/src/jsr166y/LinkedTransferQueue.java 2009/01/05 03:43:07 1.10
+++ jsr166/src/jsr166y/LinkedTransferQueue.java 2009/01/05 03:53:26 1.11
@@ -21,7 +21,7 @@ import java.lang.reflect.*;
* producer. The tail of the queue is that element that has
* been on the queue the shortest time for some producer.
*
- *
Beware that, unlike in most collections, the size
+ *
Beware that, unlike in most collections, the {@code size}
* method is NOT a constant-time operation. Because of the
* asynchronous nature of these queues, determining the current number
* of elements requires a traversal of the elements.
@@ -402,7 +402,7 @@ public class LinkedTransferQueue exte
}
/**
- * Creates an initially empty LinkedTransferQueue.
+ * Creates an initially empty {@code LinkedTransferQueue}.
*/
public LinkedTransferQueue() {
QNode dummy = new QNode(null, false);
@@ -412,7 +412,7 @@ public class LinkedTransferQueue exte
}
/**
- * Creates a LinkedTransferQueue
+ * Creates a {@code LinkedTransferQueue}
* initially containing the elements of the given collection,
* added in traversal order of the collection's iterator.
* @param c the collection of elements to initially contain
@@ -655,8 +655,8 @@ public class LinkedTransferQueue exte
/**
* Returns the number of elements in this queue. If this queue
- * contains more than Integer.MAX_VALUE elements, returns
- * Integer.MAX_VALUE.
+ * contains more than {@code Integer.MAX_VALUE} elements, returns
+ * {@code Integer.MAX_VALUE}.
*
* Beware that, unlike in most collections, this method is
* NOT a constant-time operation. Because of the
@@ -697,7 +697,7 @@ public class LinkedTransferQueue exte
/**
* Save the state to a stream (that is, serialize it).
*
- * @serialData All of the elements (each an E) in
+ * @serialData All of the elements (each an {@code E}) in
* the proper order, followed by a null
* @param s the stream
*/