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

Unified Diff: lib/coreimpl/hash_map_set.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/coreimpl/hash_map_set.dart
diff --git a/lib/coreimpl/hash_map_set.dart b/lib/coreimpl/hash_map_set.dart
index de7993aacf7003e42e7f43dcaff6937b0e28eb84..cb723a553eb2b33d08072bed7edc232d70cc549e 100644
--- a/lib/coreimpl/hash_map_set.dart
+++ b/lib/coreimpl/hash_map_set.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Hash map implementation with open addressing and quadratic probing.
-class HashMapImplementation<K extends Hashable, V> implements HashMap<K, V> {
+class HashMapImplementation<K, V> implements HashMap<K, V> {
// The [_keys] list contains the keys inserted in the map.
// The [_keys] list must be a raw list because it
@@ -276,7 +276,7 @@ class HashMapImplementation<K extends Hashable, V> implements HashMap<K, V> {
}
}
-class HashSetImplementation<E extends Hashable> implements HashSet<E> {
+class HashSetImplementation<E > implements HashSet<E> {
Mads Ager (google) 2012/09/27 12:48:27 Extra space.
HashSetImplementation() {
_backingMap = new HashMapImplementation<E, E>();

Powered by Google App Engine
This is Rietveld 408576698