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

Unified Diff: sdk/lib/collection/hash_map.dart

Issue 15263004: Adding isNotEmpty property to collection and string. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename hasElement to isNotEmpty Created 7 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/hash_map.dart
diff --git a/sdk/lib/collection/hash_map.dart b/sdk/lib/collection/hash_map.dart
index f5fcd8514316cac8db7f30c3aacb0378f2bf1468..431c89f5dc21dcc2eecb501073fe495d326a0c1a 100644
--- a/sdk/lib/collection/hash_map.dart
+++ b/sdk/lib/collection/hash_map.dart
@@ -13,6 +13,7 @@ class HashMap<K, V> implements Map<K, V> {
external int get length;
external bool get isEmpty;
+ external bool get isNotEmpty;
external Iterable<K> get keys;
external Iterable<V> get values;

Powered by Google App Engine
This is Rietveld 408576698