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

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

Issue 61733013: Add SplayTreeSet. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added more tests Created 7 years, 1 month 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: sdk/lib/core/set.dart
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart
index c22d0d73e677d9ef353d5278375805d3ab6b9f7d..2dff5f2c59bb62a09f4b31d394b3ef34c3013f36 100644
--- a/sdk/lib/core/set.dart
+++ b/sdk/lib/core/set.dart
@@ -117,7 +117,7 @@ abstract class Set<E> extends IterableBase<E> implements EfficientLength {
* Returns a new set which is the intersection between this set and [other].
*
* That is, the returned set contains all the elements of this `Set` that
- * are also elements of [other].
+ * are also elements of `other` according to `other.contains`.
floitsch 2013/11/18 18:36:19 I would prefer if this was a different CL. (But no
Lasse Reichstein Nielsen 2013/11/20 09:34:51 Let's just keep it then.
*/
Set<E> intersection(Set<Object> other);
@@ -133,7 +133,7 @@ abstract class Set<E> extends IterableBase<E> implements EfficientLength {
* Returns a new set with the the elements of this that are not in [other].
*
* That is, the returned set contains all the elements of this `Set` that
- * are not elements of [other].
+ * are not elements of [other] according to `other.contains`.
floitsch 2013/11/18 18:36:19 ditto.
*/
Set<E> difference(Set<E> other);

Powered by Google App Engine
This is Rietveld 408576698