[cvs] / jsr166 / src / main / java / util / Queue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Queue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48, Sat May 13 19:51:48 2017 UTC revision 1.49, Wed Aug 23 20:17:53 2017 UTC
# Line 17  Line 17 
17   * use with capacity-restricted {@code Queue} implementations; in most   * use with capacity-restricted {@code Queue} implementations; in most
18   * implementations, insert operations cannot fail.   * implementations, insert operations cannot fail.
19   *   *
20   * <table class="plain">   * <table class="striped">
21   * <caption>Summary of Queue methods</caption>   * <caption>Summary of Queue methods</caption>
22     *  <thead>
23   *  <tr>   *  <tr>
24   *    <td></td>   *    <td></td>
25   *    <td style="text-align:center"><em>Throws exception</em></td>   *    <th scope="col" style="font-weight:normal; font-style:italic">Throws exception</th>
26   *    <td style="text-align:center"><em>Returns special value</em></td>   *    <th scope="col" style="font-weight:normal; font-style:italic">Returns special value</th>
27   *  </tr>   *  </tr>
28     *  </thead>
29     *  <tbody>
30   *  <tr>   *  <tr>
31   *    <td><b>Insert</b></td>   *    <th scope="row">Insert</th>
32   *    <td>{@link #add(Object) add(e)}</td>   *    <td>{@link #add(Object) add(e)}</td>
33   *    <td>{@link #offer(Object) offer(e)}</td>   *    <td>{@link #offer(Object) offer(e)}</td>
34   *  </tr>   *  </tr>
35   *  <tr>   *  <tr>
36   *    <td><b>Remove</b></td>   *    <th scope="row">Remove</th>
37   *    <td>{@link #remove() remove()}</td>   *    <td>{@link #remove() remove()}</td>
38   *    <td>{@link #poll() poll()}</td>   *    <td>{@link #poll() poll()}</td>
39   *  </tr>   *  </tr>
40   *  <tr>   *  <tr>
41   *    <td><b>Examine</b></td>   *    <th scope="row">Examine</th>
42   *    <td>{@link #element() element()}</td>   *    <td>{@link #element() element()}</td>
43   *    <td>{@link #peek() peek()}</td>   *    <td>{@link #peek() peek()}</td>
44   *  </tr>   *  </tr>
45     *  </tbody>
46   * </table>   * </table>
47   *   *
48   * <p>Queues typically, but do not necessarily, order elements in a   * <p>Queues typically, but do not necessarily, order elements in a

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8