[cvs] / jsr166 / src / main / java / util / Deque.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Deque.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13, Wed May 18 03:45:35 2005 UTC revision 1.14, Sat Jun 18 01:56:01 2005 UTC
# Line 5  Line 5 
5   */   */
6    
7  package java.util;  package java.util;
8    import java.util.*; // for javadoc
9    
10  /**  /**
11   * A linear collection that supports element insertion and removal at   * A linear collection that supports element insertion and removal at
# Line 187  Line 188 
188       * When using a capacity-restricted deque, it is generally preferable to       * When using a capacity-restricted deque, it is generally preferable to
189       * use method {@link #offerLast}.       * use method {@link #offerLast}.
190       *       *
191         * <p>This method is equivalent to {@link #add}.
192         *
193       * @param e the element to add       * @param e the element to add
194       * @throws IllegalStateException if the element cannot be added at this       * @throws IllegalStateException if the element cannot be added at this
195       *         time due to capacity restrictions       *         time due to capacity restrictions
# Line 354  Line 357 
357       * When using a capacity-restricted deque, it is generally preferable to       * When using a capacity-restricted deque, it is generally preferable to
358       * use {@link #offer(Object) offer}.       * use {@link #offer(Object) offer}.
359       *       *
360       * <p>This method is equivalent to {@link #addLast(Object) addLast}.       * <p>This method is equivalent to {@link #addLast}.
361       *       *
362       * @param e the element to add       * @param e the element to add
363       * @return <tt>true</tt> (as per the spec for {@link Collection#add})       * @return <tt>true</tt> (as per the spec for {@link Collection#add})

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8