| Index: runtime/lib/immutable_map.dart
|
| diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
|
| index 475051f9653b5d406e9873c90d8621d8c0f446ba..2377c8c3d0909c964b6828498209839abc9f91b6 100644
|
| --- a/runtime/lib/immutable_map.dart
|
| +++ b/runtime/lib/immutable_map.dart
|
| @@ -84,22 +84,28 @@ class ImmutableMap<K, V> implements Map<K, V> {
|
| }
|
| }
|
|
|
| -class _ImmutableMapKeyIterable<E> extends IterableBase<E> {
|
| +class _ImmutableMapKeyIterable<E> extends IterableBase<E>
|
| + implements EfficientLength {
|
| final ImmutableMap _map;
|
| _ImmutableMapKeyIterable(this._map);
|
|
|
| Iterator<E> get iterator {
|
| return new _ImmutableMapKeyIterator<E>(_map);
|
| }
|
| +
|
| + int get length => _map.length;
|
| }
|
|
|
| -class _ImmutableMapValueIterable<E> extends IterableBase<E> {
|
| +class _ImmutableMapValueIterable<E> extends IterableBase<E>
|
| + implements EfficientLength {
|
| final ImmutableMap _map;
|
| _ImmutableMapValueIterable(this._map);
|
|
|
| Iterator<E> get iterator {
|
| return new _ImmutableMapValueIterator<E>(_map);
|
| }
|
| +
|
| + int get length => _map.length;
|
| }
|
|
|
| class _ImmutableMapKeyIterator<E> implements Iterator<E> {
|
|
|