OLD | NEW |
1 library dart.dom.svg; | 1 library dart.dom.svg; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
8 // DO NOT EDIT | 8 // DO NOT EDIT |
9 // Auto-generated dart:svg library. | 9 // Auto-generated dart:svg library. |
10 | 10 |
(...skipping 3357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3368 Iterable<Length> takeWhile(bool test(Length value)) { | 3368 Iterable<Length> takeWhile(bool test(Length value)) { |
3369 return IterableMixinWorkaround.takeWhile(this, test); | 3369 return IterableMixinWorkaround.takeWhile(this, test); |
3370 } | 3370 } |
3371 | 3371 |
3372 Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n); | 3372 Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n); |
3373 | 3373 |
3374 Iterable<Length> skipWhile(bool test(Length value)) { | 3374 Iterable<Length> skipWhile(bool test(Length value)) { |
3375 return IterableMixinWorkaround.skipWhile(this, test); | 3375 return IterableMixinWorkaround.skipWhile(this, test); |
3376 } | 3376 } |
3377 | 3377 |
3378 Length firstMatching(bool test(Length value), { Length orElse() }) { | 3378 Length firstWhere(bool test(Length value), { Length orElse() }) { |
3379 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 3379 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
3380 } | 3380 } |
3381 | 3381 |
3382 Length lastMatching(bool test(Length value), {Length orElse()}) { | 3382 Length lastWhere(bool test(Length value), {Length orElse()}) { |
3383 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 3383 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
3384 } | 3384 } |
3385 | 3385 |
3386 Length singleMatching(bool test(Length value)) { | 3386 Length singleWhere(bool test(Length value)) { |
3387 return IterableMixinWorkaround.singleMatching(this, test); | 3387 return IterableMixinWorkaround.singleWhere(this, test); |
3388 } | 3388 } |
3389 | 3389 |
3390 Length elementAt(int index) { | 3390 Length elementAt(int index) { |
3391 return this[index]; | 3391 return this[index]; |
3392 } | 3392 } |
3393 | 3393 |
3394 // From Collection<Length>: | 3394 // From Collection<Length>: |
3395 | 3395 |
3396 void add(Length value) { | 3396 void add(Length value) { |
3397 throw new UnsupportedError("Cannot add to immutable List."); | 3397 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3463 } | 3463 } |
3464 | 3464 |
3465 void removeAll(Iterable elements) { | 3465 void removeAll(Iterable elements) { |
3466 throw new UnsupportedError("Cannot remove from immutable List."); | 3466 throw new UnsupportedError("Cannot remove from immutable List."); |
3467 } | 3467 } |
3468 | 3468 |
3469 void retainAll(Iterable elements) { | 3469 void retainAll(Iterable elements) { |
3470 throw new UnsupportedError("Cannot remove from immutable List."); | 3470 throw new UnsupportedError("Cannot remove from immutable List."); |
3471 } | 3471 } |
3472 | 3472 |
3473 void removeMatching(bool test(Length element)) { | 3473 void removeWhere(bool test(Length element)) { |
3474 throw new UnsupportedError("Cannot remove from immutable List."); | 3474 throw new UnsupportedError("Cannot remove from immutable List."); |
3475 } | 3475 } |
3476 | 3476 |
3477 void retainMatching(bool test(Length element)) { | 3477 void retainWhere(bool test(Length element)) { |
3478 throw new UnsupportedError("Cannot remove from immutable List."); | 3478 throw new UnsupportedError("Cannot remove from immutable List."); |
3479 } | 3479 } |
3480 | 3480 |
3481 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ | 3481 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ |
3482 throw new UnsupportedError("Cannot setRange on immutable List."); | 3482 throw new UnsupportedError("Cannot setRange on immutable List."); |
3483 } | 3483 } |
3484 | 3484 |
3485 void removeRange(int start, int rangeLength) { | 3485 void removeRange(int start, int rangeLength) { |
3486 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3486 throw new UnsupportedError("Cannot removeRange on immutable List."); |
3487 } | 3487 } |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4074 Iterable<Number> takeWhile(bool test(Number value)) { | 4074 Iterable<Number> takeWhile(bool test(Number value)) { |
4075 return IterableMixinWorkaround.takeWhile(this, test); | 4075 return IterableMixinWorkaround.takeWhile(this, test); |
4076 } | 4076 } |
4077 | 4077 |
4078 Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n); | 4078 Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n); |
4079 | 4079 |
4080 Iterable<Number> skipWhile(bool test(Number value)) { | 4080 Iterable<Number> skipWhile(bool test(Number value)) { |
4081 return IterableMixinWorkaround.skipWhile(this, test); | 4081 return IterableMixinWorkaround.skipWhile(this, test); |
4082 } | 4082 } |
4083 | 4083 |
4084 Number firstMatching(bool test(Number value), { Number orElse() }) { | 4084 Number firstWhere(bool test(Number value), { Number orElse() }) { |
4085 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 4085 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
4086 } | 4086 } |
4087 | 4087 |
4088 Number lastMatching(bool test(Number value), {Number orElse()}) { | 4088 Number lastWhere(bool test(Number value), {Number orElse()}) { |
4089 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 4089 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
4090 } | 4090 } |
4091 | 4091 |
4092 Number singleMatching(bool test(Number value)) { | 4092 Number singleWhere(bool test(Number value)) { |
4093 return IterableMixinWorkaround.singleMatching(this, test); | 4093 return IterableMixinWorkaround.singleWhere(this, test); |
4094 } | 4094 } |
4095 | 4095 |
4096 Number elementAt(int index) { | 4096 Number elementAt(int index) { |
4097 return this[index]; | 4097 return this[index]; |
4098 } | 4098 } |
4099 | 4099 |
4100 // From Collection<Number>: | 4100 // From Collection<Number>: |
4101 | 4101 |
4102 void add(Number value) { | 4102 void add(Number value) { |
4103 throw new UnsupportedError("Cannot add to immutable List."); | 4103 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4169 } | 4169 } |
4170 | 4170 |
4171 void removeAll(Iterable elements) { | 4171 void removeAll(Iterable elements) { |
4172 throw new UnsupportedError("Cannot remove from immutable List."); | 4172 throw new UnsupportedError("Cannot remove from immutable List."); |
4173 } | 4173 } |
4174 | 4174 |
4175 void retainAll(Iterable elements) { | 4175 void retainAll(Iterable elements) { |
4176 throw new UnsupportedError("Cannot remove from immutable List."); | 4176 throw new UnsupportedError("Cannot remove from immutable List."); |
4177 } | 4177 } |
4178 | 4178 |
4179 void removeMatching(bool test(Number element)) { | 4179 void removeWhere(bool test(Number element)) { |
4180 throw new UnsupportedError("Cannot remove from immutable List."); | 4180 throw new UnsupportedError("Cannot remove from immutable List."); |
4181 } | 4181 } |
4182 | 4182 |
4183 void retainMatching(bool test(Number element)) { | 4183 void retainWhere(bool test(Number element)) { |
4184 throw new UnsupportedError("Cannot remove from immutable List."); | 4184 throw new UnsupportedError("Cannot remove from immutable List."); |
4185 } | 4185 } |
4186 | 4186 |
4187 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ | 4187 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ |
4188 throw new UnsupportedError("Cannot setRange on immutable List."); | 4188 throw new UnsupportedError("Cannot setRange on immutable List."); |
4189 } | 4189 } |
4190 | 4190 |
4191 void removeRange(int start, int rangeLength) { | 4191 void removeRange(int start, int rangeLength) { |
4192 throw new UnsupportedError("Cannot removeRange on immutable List."); | 4192 throw new UnsupportedError("Cannot removeRange on immutable List."); |
4193 } | 4193 } |
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5256 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { | 5256 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { |
5257 return IterableMixinWorkaround.takeWhile(this, test); | 5257 return IterableMixinWorkaround.takeWhile(this, test); |
5258 } | 5258 } |
5259 | 5259 |
5260 Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n); | 5260 Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n); |
5261 | 5261 |
5262 Iterable<PathSeg> skipWhile(bool test(PathSeg value)) { | 5262 Iterable<PathSeg> skipWhile(bool test(PathSeg value)) { |
5263 return IterableMixinWorkaround.skipWhile(this, test); | 5263 return IterableMixinWorkaround.skipWhile(this, test); |
5264 } | 5264 } |
5265 | 5265 |
5266 PathSeg firstMatching(bool test(PathSeg value), { PathSeg orElse() }) { | 5266 PathSeg firstWhere(bool test(PathSeg value), { PathSeg orElse() }) { |
5267 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 5267 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
5268 } | 5268 } |
5269 | 5269 |
5270 PathSeg lastMatching(bool test(PathSeg value), {PathSeg orElse()}) { | 5270 PathSeg lastWhere(bool test(PathSeg value), {PathSeg orElse()}) { |
5271 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 5271 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
5272 } | 5272 } |
5273 | 5273 |
5274 PathSeg singleMatching(bool test(PathSeg value)) { | 5274 PathSeg singleWhere(bool test(PathSeg value)) { |
5275 return IterableMixinWorkaround.singleMatching(this, test); | 5275 return IterableMixinWorkaround.singleWhere(this, test); |
5276 } | 5276 } |
5277 | 5277 |
5278 PathSeg elementAt(int index) { | 5278 PathSeg elementAt(int index) { |
5279 return this[index]; | 5279 return this[index]; |
5280 } | 5280 } |
5281 | 5281 |
5282 // From Collection<PathSeg>: | 5282 // From Collection<PathSeg>: |
5283 | 5283 |
5284 void add(PathSeg value) { | 5284 void add(PathSeg value) { |
5285 throw new UnsupportedError("Cannot add to immutable List."); | 5285 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5351 } | 5351 } |
5352 | 5352 |
5353 void removeAll(Iterable elements) { | 5353 void removeAll(Iterable elements) { |
5354 throw new UnsupportedError("Cannot remove from immutable List."); | 5354 throw new UnsupportedError("Cannot remove from immutable List."); |
5355 } | 5355 } |
5356 | 5356 |
5357 void retainAll(Iterable elements) { | 5357 void retainAll(Iterable elements) { |
5358 throw new UnsupportedError("Cannot remove from immutable List."); | 5358 throw new UnsupportedError("Cannot remove from immutable List."); |
5359 } | 5359 } |
5360 | 5360 |
5361 void removeMatching(bool test(PathSeg element)) { | 5361 void removeWhere(bool test(PathSeg element)) { |
5362 throw new UnsupportedError("Cannot remove from immutable List."); | 5362 throw new UnsupportedError("Cannot remove from immutable List."); |
5363 } | 5363 } |
5364 | 5364 |
5365 void retainMatching(bool test(PathSeg element)) { | 5365 void retainWhere(bool test(PathSeg element)) { |
5366 throw new UnsupportedError("Cannot remove from immutable List."); | 5366 throw new UnsupportedError("Cannot remove from immutable List."); |
5367 } | 5367 } |
5368 | 5368 |
5369 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ | 5369 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ |
5370 throw new UnsupportedError("Cannot setRange on immutable List."); | 5370 throw new UnsupportedError("Cannot setRange on immutable List."); |
5371 } | 5371 } |
5372 | 5372 |
5373 void removeRange(int start, int rangeLength) { | 5373 void removeRange(int start, int rangeLength) { |
5374 throw new UnsupportedError("Cannot removeRange on immutable List."); | 5374 throw new UnsupportedError("Cannot removeRange on immutable List."); |
5375 } | 5375 } |
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6243 Iterable<String> takeWhile(bool test(String value)) { | 6243 Iterable<String> takeWhile(bool test(String value)) { |
6244 return IterableMixinWorkaround.takeWhile(this, test); | 6244 return IterableMixinWorkaround.takeWhile(this, test); |
6245 } | 6245 } |
6246 | 6246 |
6247 Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n); | 6247 Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n); |
6248 | 6248 |
6249 Iterable<String> skipWhile(bool test(String value)) { | 6249 Iterable<String> skipWhile(bool test(String value)) { |
6250 return IterableMixinWorkaround.skipWhile(this, test); | 6250 return IterableMixinWorkaround.skipWhile(this, test); |
6251 } | 6251 } |
6252 | 6252 |
6253 String firstMatching(bool test(String value), { String orElse() }) { | 6253 String firstWhere(bool test(String value), { String orElse() }) { |
6254 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 6254 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
6255 } | 6255 } |
6256 | 6256 |
6257 String lastMatching(bool test(String value), {String orElse()}) { | 6257 String lastWhere(bool test(String value), {String orElse()}) { |
6258 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 6258 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
6259 } | 6259 } |
6260 | 6260 |
6261 String singleMatching(bool test(String value)) { | 6261 String singleWhere(bool test(String value)) { |
6262 return IterableMixinWorkaround.singleMatching(this, test); | 6262 return IterableMixinWorkaround.singleWhere(this, test); |
6263 } | 6263 } |
6264 | 6264 |
6265 String elementAt(int index) { | 6265 String elementAt(int index) { |
6266 return this[index]; | 6266 return this[index]; |
6267 } | 6267 } |
6268 | 6268 |
6269 // From Collection<String>: | 6269 // From Collection<String>: |
6270 | 6270 |
6271 void add(String value) { | 6271 void add(String value) { |
6272 throw new UnsupportedError("Cannot add to immutable List."); | 6272 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6338 } | 6338 } |
6339 | 6339 |
6340 void removeAll(Iterable elements) { | 6340 void removeAll(Iterable elements) { |
6341 throw new UnsupportedError("Cannot remove from immutable List."); | 6341 throw new UnsupportedError("Cannot remove from immutable List."); |
6342 } | 6342 } |
6343 | 6343 |
6344 void retainAll(Iterable elements) { | 6344 void retainAll(Iterable elements) { |
6345 throw new UnsupportedError("Cannot remove from immutable List."); | 6345 throw new UnsupportedError("Cannot remove from immutable List."); |
6346 } | 6346 } |
6347 | 6347 |
6348 void removeMatching(bool test(String element)) { | 6348 void removeWhere(bool test(String element)) { |
6349 throw new UnsupportedError("Cannot remove from immutable List."); | 6349 throw new UnsupportedError("Cannot remove from immutable List."); |
6350 } | 6350 } |
6351 | 6351 |
6352 void retainMatching(bool test(String element)) { | 6352 void retainWhere(bool test(String element)) { |
6353 throw new UnsupportedError("Cannot remove from immutable List."); | 6353 throw new UnsupportedError("Cannot remove from immutable List."); |
6354 } | 6354 } |
6355 | 6355 |
6356 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ | 6356 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ |
6357 throw new UnsupportedError("Cannot setRange on immutable List."); | 6357 throw new UnsupportedError("Cannot setRange on immutable List."); |
6358 } | 6358 } |
6359 | 6359 |
6360 void removeRange(int start, int rangeLength) { | 6360 void removeRange(int start, int rangeLength) { |
6361 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6361 throw new UnsupportedError("Cannot removeRange on immutable List."); |
6362 } | 6362 } |
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7499 Iterable<Transform> takeWhile(bool test(Transform value)) { | 7499 Iterable<Transform> takeWhile(bool test(Transform value)) { |
7500 return IterableMixinWorkaround.takeWhile(this, test); | 7500 return IterableMixinWorkaround.takeWhile(this, test); |
7501 } | 7501 } |
7502 | 7502 |
7503 Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n); | 7503 Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n); |
7504 | 7504 |
7505 Iterable<Transform> skipWhile(bool test(Transform value)) { | 7505 Iterable<Transform> skipWhile(bool test(Transform value)) { |
7506 return IterableMixinWorkaround.skipWhile(this, test); | 7506 return IterableMixinWorkaround.skipWhile(this, test); |
7507 } | 7507 } |
7508 | 7508 |
7509 Transform firstMatching(bool test(Transform value), { Transform orElse() }) { | 7509 Transform firstWhere(bool test(Transform value), { Transform orElse() }) { |
7510 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 7510 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
7511 } | 7511 } |
7512 | 7512 |
7513 Transform lastMatching(bool test(Transform value), {Transform orElse()}) { | 7513 Transform lastWhere(bool test(Transform value), {Transform orElse()}) { |
7514 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 7514 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
7515 } | 7515 } |
7516 | 7516 |
7517 Transform singleMatching(bool test(Transform value)) { | 7517 Transform singleWhere(bool test(Transform value)) { |
7518 return IterableMixinWorkaround.singleMatching(this, test); | 7518 return IterableMixinWorkaround.singleWhere(this, test); |
7519 } | 7519 } |
7520 | 7520 |
7521 Transform elementAt(int index) { | 7521 Transform elementAt(int index) { |
7522 return this[index]; | 7522 return this[index]; |
7523 } | 7523 } |
7524 | 7524 |
7525 // From Collection<Transform>: | 7525 // From Collection<Transform>: |
7526 | 7526 |
7527 void add(Transform value) { | 7527 void add(Transform value) { |
7528 throw new UnsupportedError("Cannot add to immutable List."); | 7528 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7594 } | 7594 } |
7595 | 7595 |
7596 void removeAll(Iterable elements) { | 7596 void removeAll(Iterable elements) { |
7597 throw new UnsupportedError("Cannot remove from immutable List."); | 7597 throw new UnsupportedError("Cannot remove from immutable List."); |
7598 } | 7598 } |
7599 | 7599 |
7600 void retainAll(Iterable elements) { | 7600 void retainAll(Iterable elements) { |
7601 throw new UnsupportedError("Cannot remove from immutable List."); | 7601 throw new UnsupportedError("Cannot remove from immutable List."); |
7602 } | 7602 } |
7603 | 7603 |
7604 void removeMatching(bool test(Transform element)) { | 7604 void removeWhere(bool test(Transform element)) { |
7605 throw new UnsupportedError("Cannot remove from immutable List."); | 7605 throw new UnsupportedError("Cannot remove from immutable List."); |
7606 } | 7606 } |
7607 | 7607 |
7608 void retainMatching(bool test(Transform element)) { | 7608 void retainWhere(bool test(Transform element)) { |
7609 throw new UnsupportedError("Cannot remove from immutable List."); | 7609 throw new UnsupportedError("Cannot remove from immutable List."); |
7610 } | 7610 } |
7611 | 7611 |
7612 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { | 7612 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { |
7613 throw new UnsupportedError("Cannot setRange on immutable List."); | 7613 throw new UnsupportedError("Cannot setRange on immutable List."); |
7614 } | 7614 } |
7615 | 7615 |
7616 void removeRange(int start, int rangeLength) { | 7616 void removeRange(int start, int rangeLength) { |
7617 throw new UnsupportedError("Cannot removeRange on immutable List."); | 7617 throw new UnsupportedError("Cannot removeRange on immutable List."); |
7618 } | 7618 } |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8075 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { | 8075 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { |
8076 return IterableMixinWorkaround.takeWhile(this, test); | 8076 return IterableMixinWorkaround.takeWhile(this, test); |
8077 } | 8077 } |
8078 | 8078 |
8079 Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this
, n); | 8079 Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this
, n); |
8080 | 8080 |
8081 Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) { | 8081 Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) { |
8082 return IterableMixinWorkaround.skipWhile(this, test); | 8082 return IterableMixinWorkaround.skipWhile(this, test); |
8083 } | 8083 } |
8084 | 8084 |
8085 ElementInstance firstMatching(bool test(ElementInstance value), { ElementInsta
nce orElse() }) { | 8085 ElementInstance firstWhere(bool test(ElementInstance value), { ElementInstance
orElse() }) { |
8086 return IterableMixinWorkaround.firstMatching(this, test, orElse); | 8086 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
8087 } | 8087 } |
8088 | 8088 |
8089 ElementInstance lastMatching(bool test(ElementInstance value), {ElementInstanc
e orElse()}) { | 8089 ElementInstance lastWhere(bool test(ElementInstance value), {ElementInstance o
rElse()}) { |
8090 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); | 8090 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
8091 } | 8091 } |
8092 | 8092 |
8093 ElementInstance singleMatching(bool test(ElementInstance value)) { | 8093 ElementInstance singleWhere(bool test(ElementInstance value)) { |
8094 return IterableMixinWorkaround.singleMatching(this, test); | 8094 return IterableMixinWorkaround.singleWhere(this, test); |
8095 } | 8095 } |
8096 | 8096 |
8097 ElementInstance elementAt(int index) { | 8097 ElementInstance elementAt(int index) { |
8098 return this[index]; | 8098 return this[index]; |
8099 } | 8099 } |
8100 | 8100 |
8101 // From Collection<ElementInstance>: | 8101 // From Collection<ElementInstance>: |
8102 | 8102 |
8103 void add(ElementInstance value) { | 8103 void add(ElementInstance value) { |
8104 throw new UnsupportedError("Cannot add to immutable List."); | 8104 throw new UnsupportedError("Cannot add to immutable List."); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8172 } | 8172 } |
8173 | 8173 |
8174 void removeAll(Iterable elements) { | 8174 void removeAll(Iterable elements) { |
8175 throw new UnsupportedError("Cannot remove from immutable List."); | 8175 throw new UnsupportedError("Cannot remove from immutable List."); |
8176 } | 8176 } |
8177 | 8177 |
8178 void retainAll(Iterable elements) { | 8178 void retainAll(Iterable elements) { |
8179 throw new UnsupportedError("Cannot remove from immutable List."); | 8179 throw new UnsupportedError("Cannot remove from immutable List."); |
8180 } | 8180 } |
8181 | 8181 |
8182 void removeMatching(bool test(ElementInstance element)) { | 8182 void removeWhere(bool test(ElementInstance element)) { |
8183 throw new UnsupportedError("Cannot remove from immutable List."); | 8183 throw new UnsupportedError("Cannot remove from immutable List."); |
8184 } | 8184 } |
8185 | 8185 |
8186 void retainMatching(bool test(ElementInstance element)) { | 8186 void retainWhere(bool test(ElementInstance element)) { |
8187 throw new UnsupportedError("Cannot remove from immutable List."); | 8187 throw new UnsupportedError("Cannot remove from immutable List."); |
8188 } | 8188 } |
8189 | 8189 |
8190 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { | 8190 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { |
8191 throw new UnsupportedError("Cannot setRange on immutable List."); | 8191 throw new UnsupportedError("Cannot setRange on immutable List."); |
8192 } | 8192 } |
8193 | 8193 |
8194 void removeRange(int start, int rangeLength) { | 8194 void removeRange(int start, int rangeLength) { |
8195 throw new UnsupportedError("Cannot removeRange on immutable List."); | 8195 throw new UnsupportedError("Cannot removeRange on immutable List."); |
8196 } | 8196 } |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8700 @DocsEditable | 8700 @DocsEditable |
8701 @DomName('SVGVKernElement') | 8701 @DomName('SVGVKernElement') |
8702 class _SVGVKernElement extends SvgElement { | 8702 class _SVGVKernElement extends SvgElement { |
8703 _SVGVKernElement.internal() : super.internal(); | 8703 _SVGVKernElement.internal() : super.internal(); |
8704 | 8704 |
8705 @DomName('SVGVKernElement.SVGVKernElement') | 8705 @DomName('SVGVKernElement.SVGVKernElement') |
8706 @DocsEditable | 8706 @DocsEditable |
8707 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8707 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
8708 | 8708 |
8709 } | 8709 } |
OLD | NEW |