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

Comparing jsr166/src/main/java/util/ArrayList.java (file contents):
Revision 1.2 by dl, Fri Nov 25 13:34:29 2005 UTC vs.
Revision 1.3 by jsr166, Sat Nov 26 03:03:49 2005 UTC

# Line 177 | Line 177 | public class ArrayList<E> extends Abstra
177       *
178       * @param   minCapacity   the desired minimum capacity
179       */
180    /**
181     * Increases the capacity of this <tt>ArrayList</tt> instance, if
182     * necessary, to ensure that it can hold at least the number of elements
183     * specified by the minimum capacity argument.
184     *
185     * @param   minCapacity   the desired minimum capacity
186     */
180      public void ensureCapacity(int minCapacity) {
181          modCount++;
182          if (minCapacity > elementData.length)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines