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

Unified Diff: lib/coreimpl/linked_hash_map.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « lib/coreimpl/hash_map_set.dart ('k') | lib/coreimpl/maps.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/linked_hash_map.dart
diff --git a/lib/coreimpl/linked_hash_map.dart b/lib/coreimpl/linked_hash_map.dart
index 7f42fae2ecad4b0974d0497f07b5561bf7e4f792..353402857e56e9770a63b35fb6a3a7d4a70209b9 100644
--- a/lib/coreimpl/linked_hash_map.dart
+++ b/lib/coreimpl/linked_hash_map.dart
@@ -65,7 +65,7 @@ class LinkedHashMapImplementation<K, V>
return value;
}
- Collection<K> getKeys() {
+ Collection<K> get keys {
List<K> list = new List<K>(length);
int index = 0;
_list.forEach(void _(KeyValuePair<K, V> entry) {
@@ -76,7 +76,7 @@ class LinkedHashMapImplementation<K, V>
}
- Collection<V> getValues() {
+ Collection<V> get values {
List<V> list = new List<V>(length);
int index = 0;
_list.forEach(void _(KeyValuePair<K, V> entry) {
« no previous file with comments | « lib/coreimpl/hash_map_set.dart ('k') | lib/coreimpl/maps.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698