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

Unified Diff: samples/swarm/DataSource.dart

Issue 11412086: Make 'where' lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Rebase 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
Index: samples/swarm/DataSource.dart
diff --git a/samples/swarm/DataSource.dart b/samples/swarm/DataSource.dart
index 658e8a5c1aa2af0f6c26718411238eae7f4a035d..8bb316cc6cba931e682bd5952572f5c5cc52a4ef 100644
--- a/samples/swarm/DataSource.dart
+++ b/samples/swarm/DataSource.dart
@@ -87,9 +87,6 @@ class Sections extends Collection<Section> {
List<Section> get sections => _sections;
// Collection<Section> methods:
- List<Section> where(bool f(Section element)) {
- return Collections.where(this, new List<Section>(), f);
- }
bool every(bool f(Section element)) => Collections.every(this, f);
bool some(bool f(Section element)) => Collections.some(this, f);
void forEach(void f(Section element)) { Collections.forEach(this, f); }

Powered by Google App Engine
This is Rietveld 408576698