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

Comparing jsr166/src/main/java/util/Deque.java (file contents):
Revision 1.5 by jsr166, Fri Apr 29 02:00:39 2005 UTC vs.
Revision 1.6 by jsr166, Mon May 2 04:19:58 2005 UTC

# Line 231 | Line 231 | public interface Deque<E> extends Queue<
231  
232      /**
233       * Retrieves and removes the first element of this deque.  This method
234 <     * differs from the <tt>pollFirst</tt> method only in that it throws an
234 >     * differs from the {@link #pollFirst} method only in that it throws an
235       * exception if this deque is empty.
236       *
237       * @return the first element of this deque
# Line 241 | Line 241 | public interface Deque<E> extends Queue<
241  
242      /**
243       * Retrieves and removes the last element of this deque.  This method
244 <     * differs from the <tt>pollLast</tt> method only in that it throws an
244 >     * differs from the {@link #pollLast} method only in that it throws an
245       * exception if this deque is empty.
246       *
247       * @return the last element of this deque
# Line 269 | Line 269 | public interface Deque<E> extends Queue<
269  
270      /**
271       * Retrieves, but does not remove, the first element of this
272 <     * deque.  This method differs from the <tt>peekFirst</tt> method only
272 >     * deque.  This method differs from the {@link #peekFirst} method only
273       * in that it throws an exception if this deque is empty.
274       *
275       * @return the first element of this deque
# Line 279 | Line 279 | public interface Deque<E> extends Queue<
279  
280      /**
281       * Retrieves, but does not remove, the last element of this
282 <     * deque.  This method differs from the <tt>peekLast</tt> method only
282 >     * deque.  This method differs from the {@link #peekLast} method only
283       * in that it throws an exception if this deque is empty.
284       *
285       * @return the last element of this deque
# Line 367 | Line 367 | public interface Deque<E> extends Queue<
367  
368      /**
369       * Retrieves and removes the head of the queue represented by this deque.
370 <     * This method differs from the <tt>poll</tt> method only in that it
370 >     * This method differs from the {@link #poll} method only in that it
371       * throws an exception if this deque is empty.
372       *
373       * <p>This method is equivalent to {@link #removeFirst()}.
# Line 390 | Line 390 | public interface Deque<E> extends Queue<
390  
391      /**
392       * Retrieves, but does not remove, the head of the queue represented by
393 <     * this deque.  This method differs from the <tt>peek</tt> method only in
393 >     * this deque.  This method differs from the {@link #peek} method only in
394       * that it throws an exception if this deque is empty.
395       *
396       * <p>This method is equivalent to {@link #getFirst()}.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines