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

Unified Diff: packages/quiver/lib/src/iterables/merge.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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
Index: packages/quiver/lib/src/iterables/merge.dart
diff --git a/packages/quiver/lib/src/iterables/merge.dart b/packages/quiver/lib/src/iterables/merge.dart
index 53441e1d3429babcc9f5d45291eb1e5f4946c44f..99466e3df9bbd8f10eb06efdd93832b47391d13c 100644
--- a/packages/quiver/lib/src/iterables/merge.dart
+++ b/packages/quiver/lib/src/iterables/merge.dart
@@ -14,18 +14,16 @@
part of quiver.iterables;
-/**
- * Returns the result of merging an [Iterable] of [Iterable]s, according to
- * the order specified by the [compare] function. This function assumes the
- * provided iterables are already sorted according to the provided [compare]
- * function. It will not check for this condition or sort the iterables.
- *
- * The compare function must act as a [Comparator]. If [compare] is omitted,
- * [Comparable.compare] is used.
- *
- * If any of the [iterables] contain null elements, an exception will be
- * thrown.
- */
+/// Returns the result of merging an [Iterable] of [Iterable]s, according to
+/// the order specified by the [compare] function. This function assumes the
+/// provided iterables are already sorted according to the provided [compare]
+/// function. It will not check for this condition or sort the iterables.
+///
+/// The compare function must act as a [Comparator]. If [compare] is omitted,
+/// [Comparable.compare] is used.
+///
+/// If any of the [iterables] contain null elements, an exception will be
+/// thrown.
Iterable merge(Iterable<Iterable> iterables,
[Comparator compare = Comparable.compare]) =>
(iterables.isEmpty) ? const [] : new _Merge(iterables, compare);
« no previous file with comments | « packages/quiver/lib/src/iterables/infinite_iterable.dart ('k') | packages/quiver/lib/src/iterables/min_max.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698