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

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

Issue 12086062: Rename mappedBy to map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undo change to test-script. Created 7 years, 11 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
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/list.dart
diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
index 114b4db918f591a4927c4fe6a6a24e216a87180f..10ba3e054fc25864cae93e793d8731a9376c1b99 100644
--- a/sdk/lib/core/list.dart
+++ b/sdk/lib/core/list.dart
@@ -190,36 +190,4 @@ abstract class List<E> implements Collection<E> {
* [start] is greater than the length of the list.
*/
void insertRange(int start, int length, [E fill]);
-
- /**
- * Returns a lazy unmodifiable [List] where each element [:e:] of [:this:] is
- * replaced by the result of [:f(e):].
- *
- * This method returns a view of the mapped elements. As long as the
- * returned [List] is not indexed or iterated over, the supplied function [f]
- * will not be invoked. The transformed elements will not be cached. Accessing
- * elements multiple times will invoke the supplied function [f] multiple
- * times.
- */
- List mappedBy(f(E element));
-
- /**
- * Returns an unmodifiable [List] that hides the first [n] elements.
- *
- * The returned list is a view backed by [:this:].
- *
- * While [:this:] has fewer than [n] elements, then the resulting [List]
- * will be empty.
- */
- List<E> skip(int n);
-
- /**
- * Returns an unmodifiable [List] with at most [n] elements.
- *
- * The returned list is a view backed by this.
- *
- * The returned [List] may contain fewer than [n] elements, while [:this:]
- * contains fewer than [n] elements.
- */
- List<E> take(int n);
}
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698