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

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

Issue 12413023: "Reverting 19985" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « sdk/lib/collection/linked_hash_set.dart ('k') | sdk/lib/html/dartium/html_dartium.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 8856d41e36d3c568446d22d6021b3d423aea7060..bad4c79f2c7e437d09eebfafca47b04e6d0dc7f4 100644
--- a/sdk/lib/core/set.dart
+++ b/sdk/lib/core/set.dart
@@ -36,17 +36,13 @@ abstract class Set<E> extends Collection<E> {
/**
* Returns true if [other] contains all the elements of this Set.
- *
- * *Deprecated*. Use `other.containsAll(thisSet)` instead if [other]
- * is a Set, and convert `other` to a Set if it isn't.
*/
- @deprecated
- bool isSubsetOf(Iterable<E> other);
+ bool isSubsetOf(Set<E> other);
/**
* Returns true if this Set contains all the elements of [other].
*/
- bool containsAll(Iterable<E> other);
+ bool containsAll(Set<E> other);
/**
* Returns a new set which is the intersection between this set and [other].
« no previous file with comments | « sdk/lib/collection/linked_hash_set.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698