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

Comparing jsr166/src/main/java/util/Queue.java (file contents):
Revision 1.39 by jsr166, Mon Feb 11 17:27:45 2013 UTC vs.
Revision 1.44 by jsr166, Fri Jul 8 20:02:54 2016 UTC

# Line 18 | Line 18 | package java.util;
18   * implementations; in most implementations, insert operations cannot
19   * fail.
20   *
21 * <p>
21   * <table BORDER CELLPADDING=3 CELLSPACING=1>
22   * <caption>Summary of Queue methods</caption>
23   *  <tr>
# Line 28 | Line 27 | package java.util;
27   *  </tr>
28   *  <tr>
29   *    <td><b>Insert</b></td>
30 < *    <td>{@link #add add(e)}</td>
31 < *    <td>{@link #offer offer(e)}</td>
30 > *    <td>{@link Queue#add add(e)}</td>
31 > *    <td>{@link Queue#offer offer(e)}</td>
32   *  </tr>
33   *  <tr>
34   *    <td><b>Remove</b></td>
35 < *    <td>{@link #remove remove()}</td>
36 < *    <td>{@link #poll poll()}</td>
35 > *    <td>{@link Queue#remove remove()}</td>
36 > *    <td>{@link Queue#poll poll()}</td>
37   *  </tr>
38   *  <tr>
39   *    <td><b>Examine</b></td>
40 < *    <td>{@link #element element()}</td>
41 < *    <td>{@link #peek peek()}</td>
40 > *    <td>{@link Queue#element element()}</td>
41 > *    <td>{@link Queue#peek peek()}</td>
42   *  </tr>
43   * </table>
44   *
# Line 96 | Line 95 | package java.util;
95   * always well-defined for queues with the same elements but different
96   * ordering properties.
97   *
99 *
98   * <p>This interface is a member of the
99   * <a href="{@docRoot}/../technotes/guides/collections/index.html">
100   * Java Collections Framework</a>.
101   *
104 * @see java.util.Collection
105 * @see LinkedList
106 * @see PriorityQueue
107 * @see java.util.concurrent.LinkedBlockingQueue
108 * @see java.util.concurrent.BlockingQueue
109 * @see java.util.concurrent.ArrayBlockingQueue
110 * @see java.util.concurrent.LinkedBlockingQueue
111 * @see java.util.concurrent.PriorityBlockingQueue
102   * @since 1.5
103   * @author Doug Lea
104 < * @param <E> the type of elements held in this collection
104 > * @param <E> the type of elements held in this queue
105   */
106   public interface Queue<E> extends Collection<E> {
107      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines