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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 12086062: Rename mappedBy to map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index f6af340b8cf53be60f42339ee31a0b8efd0ebc7d..b4750cc7a932e3c0d003d6faa05382ec54a15122 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -7860,7 +7860,10 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(DomMimeType element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(DomMimeType element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(DomMimeType element)) => map(f);
Iterable<DomMimeType> where(bool f(DomMimeType element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7874,13 +7877,13 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
bool get isEmpty => this.length == 0;
- List<DomMimeType> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<DomMimeType> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<DomMimeType> takeWhile(bool test(DomMimeType value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<DomMimeType> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<DomMimeType> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<DomMimeType> skipWhile(bool test(DomMimeType value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -8123,7 +8126,10 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(DomPlugin element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(DomPlugin element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(DomPlugin element)) => map(f);
Iterable<DomPlugin> where(bool f(DomPlugin element)) =>
IterableMixinWorkaround.where(this, f);
@@ -8137,13 +8143,13 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
bool get isEmpty => this.length == 0;
- List<DomPlugin> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<DomPlugin> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<DomPlugin> takeWhile(bool test(DomPlugin value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<DomPlugin> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<DomPlugin> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<DomPlugin> skipWhile(bool test(DomPlugin value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -8505,7 +8511,10 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(String element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(String element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(String element)) => map(f);
Iterable<String> where(bool f(String element)) =>
IterableMixinWorkaround.where(this, f);
@@ -8519,13 +8528,13 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
bool get isEmpty => this.length == 0;
- List<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<String> takeWhile(bool test(String value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<String> skipWhile(bool test(String value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -8781,10 +8790,12 @@ class _ChildrenElementList implements List {
return IterableMixinWorkaround.joinList(this, separator);
}
- List mappedBy(f(Element element)) {
+ Iterable map(f(Element element)) {
return IterableMixinWorkaround.mappedByList(this, f);
}
+ Iterable mappedBy(f(ELement element)) => map(f);
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -8793,7 +8804,7 @@ class _ChildrenElementList implements List {
return _element.$dom_firstElementChild == null;
}
- List<Element> take(int n) {
+ Iterable<Element> take(int n) {
return IterableMixinWorkaround.takeList(this, n);
}
@@ -8801,7 +8812,7 @@ class _ChildrenElementList implements List {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Element> skip(int n) {
+ Iterable<Element> skip(int n) {
return IterableMixinWorkaround.skipList(this, n);
}
@@ -8994,10 +9005,12 @@ class _FrozenElementList implements List {
return IterableMixinWorkaround.joinList(this, separator);
}
- List mappedBy(f(Element element)) {
+ Iterable map(f(Element element)) {
return IterableMixinWorkaround.mappedByList(this, f);
}
+ Iterable mappedBy(f(ELement element)) => map(f);
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -9023,7 +9036,7 @@ class _FrozenElementList implements List {
List<Element> toList() => new List<Element>.from(this);
Set<Element> toSet() => new Set<Element>.from(this);
- List<Element> take(int n) {
+ Iterable<Element> take(int n) {
return IterableMixinWorkaround.takeList(this, n);
}
@@ -9031,7 +9044,7 @@ class _FrozenElementList implements List {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Element> skip(int n) {
+ Iterable<Element> skip(int n) {
return IterableMixinWorkaround.skipList(this, n);
}
@@ -11420,7 +11433,10 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(File element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(File element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(File element)) => map(f);
Iterable<File> where(bool f(File element)) =>
IterableMixinWorkaround.where(this, f);
@@ -11434,13 +11450,13 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
bool get isEmpty => this.length == 0;
- List<File> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<File> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<File> takeWhile(bool test(File value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<File> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<File> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<File> skipWhile(bool test(File value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -12077,7 +12093,10 @@ class Float32Array extends ArrayBufferView implements List<num> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(num element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(num element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(num element)) => map(f);
Iterable<num> where(bool f(num element)) =>
IterableMixinWorkaround.where(this, f);
@@ -12091,13 +12110,13 @@ class Float32Array extends ArrayBufferView implements List<num> {
bool get isEmpty => this.length == 0;
- List<num> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<num> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<num> takeWhile(bool test(num value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<num> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<num> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<num> skipWhile(bool test(num value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -12302,7 +12321,10 @@ class Float64Array extends ArrayBufferView implements List<num> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(num element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(num element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(num element)) => map(f);
Iterable<num> where(bool f(num element)) =>
IterableMixinWorkaround.where(this, f);
@@ -12316,13 +12338,13 @@ class Float64Array extends ArrayBufferView implements List<num> {
bool get isEmpty => this.length == 0;
- List<num> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<num> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<num> takeWhile(bool test(num value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<num> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<num> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<num> skipWhile(bool test(num value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -12874,7 +12896,10 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Node element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Node element)) => map(f);
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -12888,13 +12913,13 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
bool get isEmpty => this.length == 0;
- List<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Node> takeWhile(bool test(Node value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Node> skipWhile(bool test(Node value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -13079,7 +13104,10 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Node element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Node element)) => map(f);
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -13093,13 +13121,13 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
bool get isEmpty => this.length == 0;
- List<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Node> takeWhile(bool test(Node value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Node> skipWhile(bool test(Node value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -15197,7 +15225,10 @@ class Int16Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -15211,13 +15242,13 @@ class Int16Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -15422,7 +15453,10 @@ class Int32Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -15436,13 +15470,13 @@ class Int32Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -15647,7 +15681,10 @@ class Int8Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -15661,13 +15698,13 @@ class Int8Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -18231,7 +18268,10 @@ class NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Node element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Node element)) => map(f);
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -18245,13 +18285,13 @@ class NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
bool get isEmpty => this.length == 0;
- List<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Node> takeWhile(bool test(Node value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Node> skipWhile(bool test(Node value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -18694,10 +18734,12 @@ class _ChildNodeListLazy implements List {
return IterableMixinWorkaround.joinList(this, separator);
}
- List mappedBy(f(Node element)) {
+ Iterable map(f(Node element)) {
return IterableMixinWorkaround.mappedByList(this, f);
}
+ Iterable mappedBy(f(Node element)) => map(f);
+
Iterable<Node> where(bool f(Node element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -18713,7 +18755,7 @@ class _ChildNodeListLazy implements List {
// From List<Node>:
- List<Node> take(int n) {
+ Iterable<Node> take(int n) {
return IterableMixinWorkaround.takeList(this, n);
}
@@ -18721,7 +18763,7 @@ class _ChildNodeListLazy implements List {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) {
+ Iterable<Node> skip(int n) {
return IterableMixinWorkaround.skipList(this, n);
}
@@ -19079,7 +19121,10 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Node element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Node element)) => map(f);
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -19093,13 +19138,13 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
bool get isEmpty => this.length == 0;
- List<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Node> takeWhile(bool test(Node value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Node> skipWhile(bool test(Node value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -21775,7 +21820,10 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(SourceBuffer element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(SourceBuffer element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(SourceBuffer element)) => map(f);
Iterable<SourceBuffer> where(bool f(SourceBuffer element)) =>
IterableMixinWorkaround.where(this, f);
@@ -21789,13 +21837,13 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
bool get isEmpty => this.length == 0;
- List<SourceBuffer> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SourceBuffer> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<SourceBuffer> takeWhile(bool test(SourceBuffer value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<SourceBuffer> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SourceBuffer> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<SourceBuffer> skipWhile(bool test(SourceBuffer value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -22085,7 +22133,10 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(SpeechGrammar element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(SpeechGrammar element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(SpeechGrammar element)) => map(f);
Iterable<SpeechGrammar> where(bool f(SpeechGrammar element)) =>
IterableMixinWorkaround.where(this, f);
@@ -22099,13 +22150,13 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
bool get isEmpty => this.length == 0;
- List<SpeechGrammar> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SpeechGrammar> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<SpeechGrammar> takeWhile(bool test(SpeechGrammar value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<SpeechGrammar> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SpeechGrammar> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<SpeechGrammar> skipWhile(bool test(SpeechGrammar value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -22781,7 +22832,10 @@ class SqlResultSetRowList extends NativeFieldWrapperClass1 implements List<Map>
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Map element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Map element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Map element)) => map(f);
Iterable<Map> where(bool f(Map element)) =>
IterableMixinWorkaround.where(this, f);
@@ -22795,13 +22849,13 @@ class SqlResultSetRowList extends NativeFieldWrapperClass1 implements List<Map>
bool get isEmpty => this.length == 0;
- List<Map> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Map> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Map> takeWhile(bool test(Map value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Map> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Map> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Map> skipWhile(bool test(Map value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -24098,7 +24152,10 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(TextTrackCue element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(TextTrackCue element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(TextTrackCue element)) => map(f);
Iterable<TextTrackCue> where(bool f(TextTrackCue element)) =>
IterableMixinWorkaround.where(this, f);
@@ -24112,13 +24169,13 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
bool get isEmpty => this.length == 0;
- List<TextTrackCue> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<TextTrackCue> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<TextTrackCue> takeWhile(bool test(TextTrackCue value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<TextTrackCue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<TextTrackCue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<TextTrackCue> skipWhile(bool test(TextTrackCue value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -24309,7 +24366,10 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(TextTrack element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(TextTrack element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(TextTrack element)) => map(f);
Iterable<TextTrack> where(bool f(TextTrack element)) =>
IterableMixinWorkaround.where(this, f);
@@ -24323,13 +24383,13 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
bool get isEmpty => this.length == 0;
- List<TextTrack> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<TextTrack> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<TextTrack> takeWhile(bool test(TextTrack value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<TextTrack> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<TextTrack> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<TextTrack> skipWhile(bool test(TextTrack value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -24712,7 +24772,10 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Touch element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Touch element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Touch element)) => map(f);
Iterable<Touch> where(bool f(Touch element)) =>
IterableMixinWorkaround.where(this, f);
@@ -24726,13 +24789,13 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
bool get isEmpty => this.length == 0;
- List<Touch> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Touch> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Touch> takeWhile(bool test(Touch value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Touch> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Touch> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Touch> skipWhile(bool test(Touch value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -25187,7 +25250,10 @@ class Uint16Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -25201,13 +25267,13 @@ class Uint16Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -25412,7 +25478,10 @@ class Uint32Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -25426,13 +25495,13 @@ class Uint32Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -25637,7 +25706,10 @@ class Uint8Array extends ArrayBufferView implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -25651,13 +25723,13 @@ class Uint8Array extends ArrayBufferView implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -25860,7 +25932,10 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(int element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(int element)) => map(f);
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -25874,13 +25949,13 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
bool get isEmpty => this.length == 0;
- List<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<int> takeWhile(bool test(int value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<int> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<int> skipWhile(bool test(int value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -29725,7 +29800,10 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<ClientRec
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(ClientRect element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(ClientRect element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(ClientRect element)) => map(f);
Iterable<ClientRect> where(bool f(ClientRect element)) =>
IterableMixinWorkaround.where(this, f);
@@ -29739,13 +29817,13 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<ClientRec
bool get isEmpty => this.length == 0;
- List<ClientRect> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<ClientRect> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<ClientRect> takeWhile(bool test(ClientRect value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<ClientRect> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<ClientRect> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<ClientRect> skipWhile(bool test(ClientRect value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -29922,7 +30000,10 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(CssRule element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(CssRule element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(CssRule element)) => map(f);
Iterable<CssRule> where(bool f(CssRule element)) =>
IterableMixinWorkaround.where(this, f);
@@ -29936,13 +30017,13 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
bool get isEmpty => this.length == 0;
- List<CssRule> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<CssRule> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<CssRule> takeWhile(bool test(CssRule value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<CssRule> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<CssRule> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<CssRule> skipWhile(bool test(CssRule value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -30119,7 +30200,10 @@ class _CssValueList extends CssValue implements List<CssValue> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(CssValue element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(CssValue element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(CssValue element)) => map(f);
Iterable<CssValue> where(bool f(CssValue element)) =>
IterableMixinWorkaround.where(this, f);
@@ -30133,13 +30217,13 @@ class _CssValueList extends CssValue implements List<CssValue> {
bool get isEmpty => this.length == 0;
- List<CssValue> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<CssValue> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<CssValue> takeWhile(bool test(CssValue value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<CssValue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<CssValue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<CssValue> skipWhile(bool test(CssValue value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -30466,7 +30550,10 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Entry element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Entry element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Entry element)) => map(f);
Iterable<Entry> where(bool f(Entry element)) =>
IterableMixinWorkaround.where(this, f);
@@ -30480,13 +30567,13 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
bool get isEmpty => this.length == 0;
- List<Entry> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Entry> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Entry> takeWhile(bool test(Entry value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Entry> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Entry> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Entry> skipWhile(bool test(Entry value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -30663,7 +30750,10 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(EntrySync element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(EntrySync element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(EntrySync element)) => map(f);
Iterable<EntrySync> where(bool f(EntrySync element)) =>
IterableMixinWorkaround.where(this, f);
@@ -30677,13 +30767,13 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
bool get isEmpty => this.length == 0;
- List<EntrySync> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<EntrySync> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<EntrySync> takeWhile(bool test(EntrySync value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<EntrySync> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<EntrySync> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<EntrySync> skipWhile(bool test(EntrySync value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -30951,7 +31041,10 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Gamepad element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Gamepad element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(Gamepad element)) => map(f);
Iterable<Gamepad> where(bool f(Gamepad element)) =>
IterableMixinWorkaround.where(this, f);
@@ -30965,13 +31058,13 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
bool get isEmpty => this.length == 0;
- List<Gamepad> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Gamepad> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Gamepad> takeWhile(bool test(Gamepad value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Gamepad> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Gamepad> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Gamepad> skipWhile(bool test(Gamepad value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -31161,7 +31254,10 @@ class _MediaStreamList extends NativeFieldWrapperClass1 implements List<MediaStr
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(MediaStream element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(MediaStream element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(MediaStream element)) => map(f);
Iterable<MediaStream> where(bool f(MediaStream element)) =>
IterableMixinWorkaround.where(this, f);
@@ -31175,13 +31271,13 @@ class _MediaStreamList extends NativeFieldWrapperClass1 implements List<MediaStr
bool get isEmpty => this.length == 0;
- List<MediaStream> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<MediaStream> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<MediaStream> takeWhile(bool test(MediaStream value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<MediaStream> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<MediaStream> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<MediaStream> skipWhile(bool test(MediaStream value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -31358,7 +31454,10 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(SpeechInputResult element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(SpeechInputResult element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(SpeechInputResult element)) => map(f);
Iterable<SpeechInputResult> where(bool f(SpeechInputResult element)) =>
IterableMixinWorkaround.where(this, f);
@@ -31372,13 +31471,13 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
bool get isEmpty => this.length == 0;
- List<SpeechInputResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SpeechInputResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<SpeechInputResult> takeWhile(bool test(SpeechInputResult value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<SpeechInputResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SpeechInputResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<SpeechInputResult> skipWhile(bool test(SpeechInputResult value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -31555,7 +31654,10 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(SpeechRecognitionResult element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(SpeechRecognitionResult element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(SpeechRecognitionResult element)) => map(f);
Iterable<SpeechRecognitionResult> where(bool f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.where(this, f);
@@ -31569,13 +31671,13 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
bool get isEmpty => this.length == 0;
- List<SpeechRecognitionResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SpeechRecognitionResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<SpeechRecognitionResult> takeWhile(bool test(SpeechRecognitionResult value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<SpeechRecognitionResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SpeechRecognitionResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<SpeechRecognitionResult> skipWhile(bool test(SpeechRecognitionResult value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -31752,7 +31854,10 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(StyleSheet element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(StyleSheet element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
+ Iterable mappedBy(f(StyleSheet element)) => map(f);
Iterable<StyleSheet> where(bool f(StyleSheet element)) =>
IterableMixinWorkaround.where(this, f);
@@ -31766,13 +31871,13 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
bool get isEmpty => this.length == 0;
- List<StyleSheet> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<StyleSheet> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<StyleSheet> takeWhile(bool test(StyleSheet value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<StyleSheet> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<StyleSheet> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<StyleSheet> skipWhile(bool test(StyleSheet value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -32300,7 +32405,7 @@ abstract class CssClassSet implements Set<String> {
String join([String separator]) => readClasses().join(separator);
- Iterable mappedBy(f(String element)) => readClasses().mappedBy(f);
+ Iterable mappedBy(f(String element)) => readClasses().map(f);
Iterable<String> where(bool f(String element)) => readClasses().where(f);

Powered by Google App Engine
This is Rietveld 408576698