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

Unified Diff: runtime/lib/immutable_map.dart

Issue 1154263003: Revert "Make EfficientLength public, as EfficientLengthIterable." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 | « runtime/lib/growable_array.dart ('k') | runtime/lib/string_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/immutable_map.dart
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
index b4fcbcfdefb8987c5853048844194e9069721385..2377c8c3d0909c964b6828498209839abc9f91b6 100644
--- a/runtime/lib/immutable_map.dart
+++ b/runtime/lib/immutable_map.dart
@@ -84,8 +84,8 @@ class ImmutableMap<K, V> implements Map<K, V> {
}
}
-class _ImmutableMapKeyIterable<E> extends Iterable<E>
- implements EfficientLengthIterable<E> {
+class _ImmutableMapKeyIterable<E> extends IterableBase<E>
+ implements EfficientLength {
final ImmutableMap _map;
_ImmutableMapKeyIterable(this._map);
@@ -96,8 +96,8 @@ class _ImmutableMapKeyIterable<E> extends Iterable<E>
int get length => _map.length;
}
-class _ImmutableMapValueIterable<E> extends Iterable<E>
- implements EfficientLengthIterable<E> {
+class _ImmutableMapValueIterable<E> extends IterableBase<E>
+ implements EfficientLength {
final ImmutableMap _map;
_ImmutableMapValueIterable(this._map);
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | runtime/lib/string_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698