[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.23, Wed Aug 6 01:57:53 2003 UTC revision 1.24, Wed Aug 6 18:22:09 2003 UTC
# Line 81  Line 81 
81      /**      /**
82       * Creates a <tt>PriorityQueue</tt> with the default initial capacity       * Creates a <tt>PriorityQueue</tt> with the default initial capacity
83       * (11) that orders its elements according to their natural       * (11) that orders its elements according to their natural
84       * ordering (using <tt>Comparable</tt>.)       * ordering (using <tt>Comparable</tt>).
85       */       */
86      public PriorityQueue() {      public PriorityQueue() {
87          this(DEFAULT_INITIAL_CAPACITY, null);          this(DEFAULT_INITIAL_CAPACITY, null);
# Line 90  Line 90 
90      /**      /**
91       * Creates a <tt>PriorityQueue</tt> with the specified initial capacity       * Creates a <tt>PriorityQueue</tt> with the specified initial capacity
92       * that orders its elements according to their natural ordering       * that orders its elements according to their natural ordering
93       * (using <tt>Comparable</tt>.)       * (using <tt>Comparable</tt>).
94       *       *
95       * @param initialCapacity the initial capacity for this priority queue.       * @param initialCapacity the initial capacity for this priority queue.
96       * @throws IllegalArgumentException if <tt>initialCapacity</tt> is less       * @throws IllegalArgumentException if <tt>initialCapacity</tt> is less
# Line 531  Line 531 
531      /**      /**
532       * Returns the comparator used to order this collection, or <tt>null</tt>       * Returns the comparator used to order this collection, or <tt>null</tt>
533       * if this collection is sorted according to its elements natural ordering       * if this collection is sorted according to its elements natural ordering
534       * (using <tt>Comparable</tt>.)       * (using <tt>Comparable</tt>).
535       *       *
536       * @return the comparator used to order this collection, or <tt>null</tt>       * @return the comparator used to order this collection, or <tt>null</tt>
537       * if this collection is sorted according to its elements natural ordering.       * if this collection is sorted according to its elements natural ordering.

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8