Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: sdk/lib/core/comparable.dart

Issue 110483006: Add priority queue to package:collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve test layout/comments. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/collection/test/priority_queue_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/comparable.dart
diff --git a/sdk/lib/core/comparable.dart b/sdk/lib/core/comparable.dart
index b2aa545bd7fd8f5dd8809d605e1a99fc70a94678..eae23abda8dea558f94d45d63b05aa0b78311289 100644
--- a/sdk/lib/core/comparable.dart
+++ b/sdk/lib/core/comparable.dart
@@ -63,6 +63,8 @@ abstract class Comparable<T> {
/**
* A [Comparator] that compares one comparable to another.
*
+ * It returns the result of `a.compareTo(b)`.
+ *
* This utility function is used as the default comparator
* for ordering collections, for example in the [List] sort function.
*/
« no previous file with comments | « pkg/collection/test/priority_queue_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698