--- jsr166/src/jsr166x/BlockingDeque.java 2004/12/05 21:15:31 1.1
+++ jsr166/src/jsr166x/BlockingDeque.java 2010/09/07 06:03:19 1.3
@@ -6,7 +6,7 @@
package jsr166x; // XXX This belongs in java.util!!! XXX
import java.util.concurrent.*; // XXX This import goes away XXX
-import java.util.*;
+import java.util.*;
/**
* A {@link Deque} that additionally supports operations that wait for
@@ -32,7 +32,7 @@ import java.util.*;
*
{@link #putFirst putFirst(e)} |
* {@link #offerFirst(Object, long, TimeUnit) offerFirst(e, time, unit)} |
* {@link #putLast putLast(e)} |
- * {@link #offerLast(Object, long, TimeUnit) offerLast(e, time, unit)} |
+ * {@link #offerLast(Object, long, TimeUnit) offerLast(e, time, unit)} |
*
*
* Remove |
@@ -187,20 +187,20 @@ public interface BlockingDeque extend
/**
* Adds the specified element as the last element of this deque,
* waiting if necessary for space to become available. This
- * method is equivalent to to putLast
+ * method is equivalent to putLast
* @param o the element to add
* @throws InterruptedException if interrupted while waiting.
* @throws NullPointerException if the specified element is null.
*/
void put(E o) throws InterruptedException;
- /**
+ /**
* Inserts the specified element as the lest element of this
* deque, if possible. When using deques that may impose
* insertion restrictions (for example capacity bounds), method
* offer is generally preferable to method {@link
* Collection#add}, which can fail to insert an element only by
- * throwing an exception. This method is equivalent to to
+ * throwing an exception. This method is equivalent to
* offerLast
*
* @param o the element to add.
@@ -214,7 +214,7 @@ public interface BlockingDeque extend
/**
* Retrieves and removes the first element of this deque, waiting
* if no elements are present on this deque.
- * This method is equivalent to to takeFirst
+ * This method is equivalent to takeFirst
* @return the head of this deque
* @throws InterruptedException if interrupted while waiting.
*/
@@ -223,7 +223,7 @@ public interface BlockingDeque extend
/**
* Retrieves and removes the first element of this deque, waiting
* if necessary up to the specified wait time if no elements are
- * present on this deque. This method is equivalent to to
+ * present on this deque. This method is equivalent to
* pollFirst
* @param timeout how long to wait before giving up, in units of
* unit