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

Unified Diff: runtime/lib/immutable_map.dart

Issue 1104063002: Make EfficientLength public, as EfficientLengthIterable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. 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
Index: runtime/lib/immutable_map.dart
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
index 2377c8c3d0909c964b6828498209839abc9f91b6..b4fcbcfdefb8987c5853048844194e9069721385 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 IterableBase<E>
- implements EfficientLength {
+class _ImmutableMapKeyIterable<E> extends Iterable<E>
+ implements EfficientLengthIterable<E> {
final ImmutableMap _map;
_ImmutableMapKeyIterable(this._map);
@@ -96,8 +96,8 @@ class _ImmutableMapKeyIterable<E> extends IterableBase<E>
int get length => _map.length;
}
-class _ImmutableMapValueIterable<E> extends IterableBase<E>
- implements EfficientLength {
+class _ImmutableMapValueIterable<E> extends Iterable<E>
+ implements EfficientLengthIterable<E> {
final ImmutableMap _map;
_ImmutableMapValueIterable(this._map);

Powered by Google App Engine
This is Rietveld 408576698