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

Comparing jsr166/src/jsr166x/Deque.java (file contents):
Revision 1.6 by jsr166, Mon Nov 16 04:16:42 2009 UTC vs.
Revision 1.9 by jsr166, Tue Sep 7 06:05:17 2010 UTC

# Line 25 | Line 25 | import java.util.*;    // XXX This impor
25   * <tt>Deque</tt> implementations; in most implementations, insert
26   * operations cannot fail.
27   *
28 < * <p>The twelve methods described above are are summarized in the
29 < * follwoing table:<p>
28 > * <p>The twelve methods described above are summarized in the
29 > * following table:<p>
30   *
31   * <table BORDER CELLPADDING=3 CELLSPACING=1>
32   *  <tr>
# Line 132 | Line 132 | import java.util.*;    // XXX This impor
132   * a deque is used as a queue or a stack; in either case, elements are
133   * drawn from the beginning of the deque.
134   *
135 < * <p>This inteface provides two methods to to remove interior
135 > * <p>This interface provides two methods to remove interior
136   * elements, {@link #removeFirstOccurrence removeFirstOccurrence} and
137   * {@link #removeLastOccurrence removeLastOccurrence}.  Unlike the
138   * {@link List} interface, this interface does not provide support for
# Line 419 | Line 419 | public interface Deque<E> extends Queue<
419  
420      /**
421       * Pops an element from the stack represented by this deque.  In other
422 <     * words, removes and returns the the first element of this deque.
422 >     * words, removes and returns the first element of this deque.
423       *
424       * <p>This method is equivalent to {@link #removeFirst()}.
425       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines