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

Unified Diff: sdk/lib/core/set.dart

Issue 11366111: Make Iterable more powerful (and lazy). (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix current. was in Iterable and not Iterator. Created 8 years, 1 month 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 | « sdk/lib/core/sequences.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/set.dart
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart
index 7c1f2a748ce1b0790c3f7e99751b60b6fabcf33c..760d1ab050f151a0982cc0ee49dc720aa58841db 100644
--- a/sdk/lib/core/set.dart
+++ b/sdk/lib/core/set.dart
@@ -65,6 +65,12 @@ abstract class Set<E> extends Collection<E> {
*/
void clear();
+ /**
+ * Returns an immutable view of [this].
+ *
+ * The returned [Set] is backed by [this] but cannot change [this].
+ */
+ Set<E> get view;
}
abstract class HashSet<E> extends Set<E> {
« no previous file with comments | « sdk/lib/core/sequences.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698