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

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: Address comments 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
« no previous file with comments | « sdk/lib/collection/splay_tree.dart ('k') | tests/corelib/set_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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`.
*/
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`.
*/
Set<E> difference(Set<E> other);
« no previous file with comments | « sdk/lib/collection/splay_tree.dart ('k') | tests/corelib/set_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698