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

Unified Diff: sdk/lib/collection/hash_set.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_set.dart
diff --git a/sdk/lib/collection/hash_set.dart b/sdk/lib/collection/hash_set.dart
index c459f9900b21696e1fd3869479120f60e2393d49..8d484db877728f252108cdf80aa4eea2097aa22e 100644
--- a/sdk/lib/collection/hash_set.dart
+++ b/sdk/lib/collection/hash_set.dart
@@ -70,6 +70,8 @@ class HashSet<E> extends _HashSetBase<E> {
external bool get isEmpty;
+ external bool get isNotEmpty;
+
external bool contains(Object object);
// Collection.

Powered by Google App Engine
This is Rietveld 408576698