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

Comparing jsr166/src/jsr166x/ArrayDeque.java (file contents):
Revision 1.9 by jsr166, Tue Feb 21 01:54:03 2012 UTC vs.
Revision 1.10 by jsr166, Sat Dec 29 23:55:19 2012 UTC

# Line 88 | Line 88 | public class ArrayDeque<E> extends Abstr
88      /**
89       * Allocates empty array to hold the given number of elements.
90       *
91 <     * @param numElements  the number of elements to hold.
91 >     * @param numElements  the number of elements to hold
92       */
93      private void allocateElements(int numElements) {
94          int initialCapacity = MIN_INITIAL_CAPACITY;
# Line 555 | Line 555 | public class ArrayDeque<E> extends Abstr
555      }
556  
557      /**
558 <     * Returns <tt>true</tt> if this collection contains no elements.<p>
558 >     * Returns <tt>true</tt> if this collection contains no elements.
559       *
560 <     * @return <tt>true</tt> if this collection contains no elements.
560 >     * @return <tt>true</tt> if this collection contains no elements
561       */
562      public boolean isEmpty() {
563          return head == tail;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines