[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.1, Tue Dec 28 12:14:07 2004 UTC revision 1.2, Tue Mar 8 12:27:06 2005 UTC
# Line 24  Line 24 
24   * <tt>Deque</tt> implementations; in most implementations, insert   * <tt>Deque</tt> implementations; in most implementations, insert
25   * operations cannot fail.   * operations cannot fail.
26   *   *
27   * <p>The twelve methods described above are are summarized in the   * <p>The twelve methods described above are summarized in the
28   * follwoing table:<p>   * following table:<p>
29   *   *
30   * <table BORDER CELLPADDING=3 CELLSPACING=1>   * <table BORDER CELLPADDING=3 CELLSPACING=1>
31   *  <tr>   *  <tr>
# Line 131  Line 131 
131   * a deque is used as a queue or a stack; in either case, elements are   * a deque is used as a queue or a stack; in either case, elements are
132   * drawn from the beginning of the deque.   * drawn from the beginning of the deque.
133   *   *
134   * <p>This inteface provides two methods to to remove interior   * <p>This interface provides two methods to remove interior
135   * elements, {@link #removeFirstOccurrence removeFirstOccurrence} and   * elements, {@link #removeFirstOccurrence removeFirstOccurrence} and
136   * {@link #removeLastOccurrence removeLastOccurrence}.  Unlike the   * {@link #removeLastOccurrence removeLastOccurrence}.  Unlike the
137   * {@link List} interface, this interface does not provide support for   * {@link List} interface, this interface does not provide support for
# Line 419  Line 419 
419    
420      /**      /**
421       * Pops an element from the stack represented by this deque.  In other       * Pops an element from the stack represented by this deque.  In other
422       * words, removes and returns the the first element of this deque.       * words, removes and returns the first element of this deque.
423       *       *
424       * <p>This method is equivalent to {@link #removeFirst()}.       * <p>This method is equivalent to {@link #removeFirst()}.
425       *       *

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8