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

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

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

revision 1.16, Thu Jul 31 15:44:41 2003 UTC revision 1.17, Thu Jul 31 19:49:42 2003 UTC
# Line 3  Line 3 
3  /**  /**
4   * An unbounded priority queue based on a priority heap.  This queue orders   * An unbounded priority queue based on a priority heap.  This queue orders
5   * elements according to an order specified at construction time, which is   * elements according to an order specified at construction time, which is
6   * specified in the same manner as {@link TreeSet} and {@link TreeMap}:   * specified in the same manner as {@link java.util.TreeSet} and {@link java.util.TreeMap}:
7   * elements are ordered   * elements are ordered
8   * either according to their <i>natural order</i> (see {@link Comparable}), or   * either according to their <i>natural order</i> (see {@link Comparable}), or
9   * according to a {@link Comparator}, depending on which constructor is used.   * according to a {@link java.util.Comparator}, depending on which constructor is used.
10   * The <em>head</em> of this queue is the least element with respect to the   * The <em>head</em> of this queue is the least element with respect to the
11   * specified ordering. If multiple elements are tied for least value, the   * specified ordering. If multiple elements are tied for least value, the
12   * head is one of those elements. A priority queue does not permit   * head is one of those elements. A priority queue does not permit

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8