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

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

Issue 14246008: Allow Object when doing lookups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
« sdk/lib/core/map.dart ('K') | « sdk/lib/core/map.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/set.dart
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart
index ff8d4b3aac843b0619dcf97bb5c28ecc4bd11c6d..2d923bfae5834f7c3df33f2667635a3c6606a4ad 100644
--- a/sdk/lib/core/set.dart
+++ b/sdk/lib/core/set.dart
@@ -19,7 +19,7 @@ abstract class Set<E> extends IterableBase<E> {
/**
* Returns true if [value] is in the set.
*/
- bool contains(E value);
+ bool contains(Object value);
/**
* Adds [value] into the set. The method has no effect if
@@ -66,7 +66,7 @@ abstract class Set<E> extends IterableBase<E> {
/**
* Returns true if this Set contains all the elements of [other].
*/
- bool containsAll(Iterable<E> other);
+ bool containsAll(Iterable<Object> other);
/**
* Returns a new set which is the intersection between this set and [other].
« sdk/lib/core/map.dart ('K') | « sdk/lib/core/map.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698