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

Unified Diff: lib/core/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/core/expect.dart ('k') | lib/coreimpl/hash_map_set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/map.dart
diff --git a/lib/core/map.dart b/lib/core/map.dart
index 5bf4c96464f821e33cb8c7cd0d1a6b2d74e8772e..530d4ee6f50ad3d03c7ba38f224282a9eb743e72 100644
--- a/lib/core/map.dart
+++ b/lib/core/map.dart
@@ -69,12 +69,12 @@ interface Map<K, V> default HashMapImplementation<K, V> {
/**
* Returns a collection containing all the keys in the map.
*/
- Collection<K> getKeys();
+ Collection<K> get keys;
/**
* Returns a collection containing all the values in the map.
*/
- Collection<V> getValues();
+ Collection<V> get values;
/**
* The number of {key, value} pairs in the map.
@@ -89,8 +89,8 @@ interface Map<K, V> default HashMapImplementation<K, V> {
/**
* Hash map version of the [Map] interface. A [HashMap] does not
- * provide any guarantees on the order of keys and values in [getKeys]
- * and [getValues].
+ * provide any guarantees on the order of keys and values in [keys]
+ * and [values].
*/
interface HashMap<K, V> extends Map<K, V>
default HashMapImplementation<K, V> {
« no previous file with comments | « lib/core/expect.dart ('k') | lib/coreimpl/hash_map_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698