[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.20, Tue Aug 5 06:18:17 2003 UTC revision 1.21, Tue Aug 5 06:49:51 2003 UTC
# Line 78  Line 78 
78      private transient int modCount = 0;      private transient int modCount = 0;
79    
80      /**      /**
81       * Create a <tt>PriorityQueue</tt> with the default initial capacity       * Creates a <tt>PriorityQueue</tt> with the default initial capacity
82       * (11) that orders its elements according to their natural       * (11) that orders its elements according to their natural
83       * ordering (using <tt>Comparable</tt>.)       * ordering (using <tt>Comparable</tt>.)
84       */       */
# Line 87  Line 87 
87      }      }
88    
89      /**      /**
90       * Create a <tt>PriorityQueue</tt> with the specified initial capacity       * Creates a <tt>PriorityQueue</tt> with the specified initial capacity
91       * that orders its elements according to their natural ordering       * that orders its elements according to their natural ordering
92       * (using <tt>Comparable</tt>.)       * (using <tt>Comparable</tt>.)
93       *       *
# Line 98  Line 98 
98      }      }
99    
100      /**      /**
101       * Create a <tt>PriorityQueue</tt> with the specified initial capacity       * Creates a <tt>PriorityQueue</tt> with the specified initial capacity
102       * that orders its elements according to the specified comparator.       * that orders its elements according to the specified comparator.
103       *       *
104       * @param initialCapacity the initial capacity for this priority queue.       * @param initialCapacity the initial capacity for this priority queue.
# Line 116  Line 116 
116      }      }
117    
118      /**      /**
119       * Create a <tt>PriorityQueue</tt> containing the elements in the specified       * Creates a <tt>PriorityQueue</tt> containing the elements in the
120       * collection.  The priority queue has an initial capacity of 110% of the       * specified collection.
121         * The priority queue has an initial capacity of 110% of the
122       * size of the specified collection or 1 if the collection is empty.       * size of the specified collection or 1 if the collection is empty.
123       * If the specified collection       * If the specified collection
124       * implements the {@link Sorted} interface, the priority queue will be       * implements the {@link Sorted} interface, the priority queue will be

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8