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

Unified Diff: lib/core/list.dart

Issue 11169004: Add "contains" method to Collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: lib/core/list.dart
diff --git a/lib/core/list.dart b/lib/core/list.dart
index e44e743974677c650ce08f4dc1621155ec264c06..77f6514c12095d98316ef0c5926571d398a3c777 100644
--- a/lib/core/list.dart
+++ b/lib/core/list.dart
@@ -6,8 +6,8 @@
* A [List] is an indexable collection with a length. It can be of
* fixed size or extendable.
*/
-interface List<E> extends Collection<E> default ListImplementation<E> {
-
+interface List<E> extends Collection<E>, Sequence<E>
+ default ListImplementation<E> {
/**
* Creates a list of the given [length].
*

Powered by Google App Engine
This is Rietveld 408576698