ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/BlockingDeque.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/BlockingDeque.java (file contents):
Revision 1.1 by dl, Tue Dec 28 12:14:13 2004 UTC vs.
Revision 1.2 by dl, Tue Mar 8 12:27:11 2005 UTC

# Line 186 | Line 186 | public interface BlockingDeque<E> extend
186      /**
187       * Adds the specified element as the last element of this deque,
188       * waiting if necessary for space to become available.  This
189 <     * method is equivalent to to putLast
189 >     * method is equivalent to putLast
190       * @param o the element to add
191       * @throws InterruptedException if interrupted while waiting.
192       * @throws NullPointerException if the specified element is <tt>null</tt>.
# Line 199 | Line 199 | public interface BlockingDeque<E> extend
199       * insertion restrictions (for example capacity bounds), method
200       * <tt>offer</tt> is generally preferable to method {@link
201       * Collection#add}, which can fail to insert an element only by
202 <     * throwing an exception.  This method is equivalent to to
202 >     * throwing an exception.  This method is equivalent to
203       * offerLast
204       *
205       * @param o the element to add.
# Line 213 | Line 213 | public interface BlockingDeque<E> extend
213      /**
214       * Retrieves and removes the first element of this deque, waiting
215       * if no elements are present on this deque.
216 <     * This method is equivalent to to takeFirst
216 >     * This method is equivalent to takeFirst
217       * @return the head of this deque
218       * @throws InterruptedException if interrupted while waiting.
219       */
# Line 222 | Line 222 | public interface BlockingDeque<E> extend
222      /**
223       * Retrieves and removes the first element of this deque, waiting
224       * if necessary up to the specified wait time if no elements are
225 <     * present on this deque.  This method is equivalent to to
225 >     * present on this deque.  This method is equivalent to
226       * pollFirst
227       * @param timeout how long to wait before giving up, in units of
228       * <tt>unit</tt>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines