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

Unified Diff: sdk/lib/collection/splay_tree.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: sdk/lib/collection/splay_tree.dart
diff --git a/sdk/lib/collection/splay_tree.dart b/sdk/lib/collection/splay_tree.dart
index b5fcb93876f21b435abc91fb176380628a3b9863..b6ee8292ddf6080d94a5346d911d3def1f949e46 100644
--- a/sdk/lib/collection/splay_tree.dart
+++ b/sdk/lib/collection/splay_tree.dart
@@ -600,7 +600,7 @@ abstract class _SplayTreeIterator<T> implements Iterator<T> {
}
class _SplayTreeKeyIterable<K> extends Iterable<K>
- implements EfficientLength {
+ implements EfficientLengthIterable<K> {
_SplayTree<K> _tree;
_SplayTreeKeyIterable(this._tree);
int get length => _tree._count;
@@ -618,7 +618,7 @@ class _SplayTreeKeyIterable<K> extends Iterable<K>
}
class _SplayTreeValueIterable<K, V> extends Iterable<V>
- implements EfficientLength {
+ implements EfficientLengthIterable<V> {
SplayTreeMap<K, V> _map;
_SplayTreeValueIterable(this._map);
int get length => _map._count;

Powered by Google App Engine
This is Rietveld 408576698