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

Unified Diff: sdk/lib/collection/linked_hash_map.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
Index: sdk/lib/collection/linked_hash_map.dart
diff --git a/sdk/lib/collection/linked_hash_map.dart b/sdk/lib/collection/linked_hash_map.dart
index 431f7fa5ec1b657eb908bc006a87d8a46dd21caf..31e3e59c8d640821b454fae6db3a267a764c306e 100644
--- a/sdk/lib/collection/linked_hash_map.dart
+++ b/sdk/lib/collection/linked_hash_map.dart
@@ -14,13 +14,13 @@ class LinkedHashMap<K, V> implements Map<K, V> {
return new LinkedHashMap<K, V>()..addAll(other);
}
- external bool containsKey(K key);
+ external bool containsKey(Object key);
- external bool containsValue(V value);
+ external bool containsValue(Object value);
external void addAll(Map<K, V> other);
- external V operator [](K key);
+ external V operator [](Object key);
external void operator []=(K key, V value);

Powered by Google App Engine
This is Rietveld 408576698