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

Unified Diff: lib/core/map.dart

Issue 10993059: Stop using the Hashable interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/core/map.dart
diff --git a/lib/core/map.dart b/lib/core/map.dart
index cc3a01ed03dca482218e96ebb3cf26d69b041e7c..f984deb18d0ec7466313478b9a6e653c70884e58 100644
--- a/lib/core/map.dart
+++ b/lib/core/map.dart
@@ -6,7 +6,7 @@
* A [Map] is an associative container, mapping a key to a value.
* Null values are supported, but null keys are not.
*/
-interface Map<K, V> default HashMapImplementation<K extends Hashable, V> {
+interface Map<K, V> default HashMapImplementation<K, V> {
/**
* Creates a map with the default implementation.
*/
@@ -92,8 +92,8 @@ interface Map<K, V> default HashMapImplementation<K extends Hashable, V> {
* provide any guarantees on the order of keys and values in [getKeys]
* and [getValues].
*/
-interface HashMap<K extends Hashable, V> extends Map<K, V>
- default HashMapImplementation<K extends Hashable, V> {
+interface HashMap<K, V> extends Map<K, V>
+ default HashMapImplementation<K, V> {
/**
* Creates a map with the default implementation.
*/
@@ -109,8 +109,8 @@ interface HashMap<K extends Hashable, V> extends Map<K, V>
* Hash map version of the [Map] interface that preserves insertion
* order.
*/
-interface LinkedHashMap<K extends Hashable, V> extends HashMap<K, V>
- default LinkedHashMapImplementation<K extends Hashable, V> {
+interface LinkedHashMap<K, V> extends HashMap<K, V>
+ default LinkedHashMapImplementation<K, V> {
/**
* Creates a map with the default implementation.
*/

Powered by Google App Engine
This is Rietveld 408576698