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.10 by jsr166, Tue May 17 07:29:01 2005 UTC vs.
Revision 1.11 by jsr166, Tue May 17 16:00:48 2005 UTC

# Line 206 | Line 206 | public interface Deque<E> extends Queue<
206       * which can fail to insert an element only by throwing an exception.
207       *
208       * @param e the element to add
209 <     * @return <tt>true</tt> if it was possible to insert the element,
210 <     *         else <tt>false</tt>
209 >     * @return <tt>true</tt> if the element was added to this deque, else
210 >     *         <tt>false</tt>
211       * @throws ClassCastException if the class of the specified element
212       *         prevents it from being added to this deque
213       * @throws NullPointerException if the specified element is null and this
# Line 224 | Line 224 | public interface Deque<E> extends Queue<
224       * which can fail to insert an element only by throwing an exception.
225       *
226       * @param e the element to add
227 <     * @return <tt>true</tt> if it was possible to insert the element,
228 <     *         else <tt>false</tt>
227 >     * @return <tt>true</tt> if the element was added to this deque, else
228 >     *         <tt>false</tt>
229       * @throws ClassCastException if the class of the specified element
230       *         prevents it from being added to this deque
231       * @throws NullPointerException if the specified element is null and this

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines