Add missing signatures for add and addAll to priority queue.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//121583004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/collection@31541 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/priority_queue.dart b/lib/priority_queue.dart
index eb0cda3..efb3239 100644
--- a/lib/priority_queue.dart
+++ b/lib/priority_queue.dart
@@ -35,6 +35,19 @@
bool contains(E object);
/**
+ * Adds element to the queue.
+ *
+ * The element will become the next to be removed by [removeFirst]
+ * when all elements with higher priority have been removed.
+ */
+ void add(E element);
+
+ /**
+ * Adds all [elements] to the queue.
+ */
+ void addAll(Iterable<E> elements);
+
+ /**
* Returns the next element that will be returned by [removeFirst].
*
* The element is not removed from the queue.
@@ -58,7 +71,7 @@
* Removes an element that compares equal to [element] in the queue.
*
* Returns true if an element is found and removed,
- * and false if not equal element is found.
+ * and false if no equal element is found.
*/
bool remove(E element);