Index: sdk/lib/collection/linked_hash_set.dart |
diff --git a/sdk/lib/collection/linked_hash_set.dart b/sdk/lib/collection/linked_hash_set.dart |
index e72493aad57173be1f21d833f0fa395d68b88a95..7fc0653b22751e170c38caba8703b2e4204eba85 100644 |
--- a/sdk/lib/collection/linked_hash_set.dart |
+++ b/sdk/lib/collection/linked_hash_set.dart |
@@ -30,6 +30,8 @@ class LinkedHashSet<E> extends Collection<E> implements Set<E> { |
} |
} |
+ int get length => _table._elementCount; |
+ |
bool get isEmpty => _table._elementCount == 0; |
bool contains(Object object) => _table._get(object) >= 0; |