OLD | NEW |
1 library svg; | 1 library 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 // DO NOT EDIT | 7 // DO NOT EDIT |
8 // Auto-generated dart:svg library. | 8 // Auto-generated dart:svg library. |
9 | 9 |
10 | 10 |
(...skipping 3135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3146 | 3146 |
3147 void addAll(Iterable<Length> iterable) { | 3147 void addAll(Iterable<Length> iterable) { |
3148 throw new UnsupportedError("Cannot add to immutable List."); | 3148 throw new UnsupportedError("Cannot add to immutable List."); |
3149 } | 3149 } |
3150 | 3150 |
3151 // From List<Length>: | 3151 // From List<Length>: |
3152 void set length(int value) { | 3152 void set length(int value) { |
3153 throw new UnsupportedError("Cannot resize immutable List."); | 3153 throw new UnsupportedError("Cannot resize immutable List."); |
3154 } | 3154 } |
3155 | 3155 |
3156 // contains() defined by IDL. | 3156 // clear() defined by IDL. |
3157 | 3157 |
3158 void sort([int compare(Length a, Length b)]) { | 3158 void sort([int compare(Length a, Length b)]) { |
3159 throw new UnsupportedError("Cannot sort immutable List."); | 3159 throw new UnsupportedError("Cannot sort immutable List."); |
3160 } | 3160 } |
3161 | 3161 |
3162 int indexOf(Length element, [int start = 0]) => | 3162 int indexOf(Length element, [int start = 0]) => |
3163 Lists.indexOf(this, element, start, this.length); | 3163 Lists.indexOf(this, element, start, this.length); |
3164 | 3164 |
3165 int lastIndexOf(Length element, [int start]) { | 3165 int lastIndexOf(Length element, [int start]) { |
3166 if (start == null) start = length - 1; | 3166 if (start == null) start = length - 1; |
(...skipping 14 matching lines...) Expand all Loading... |
3181 if (length == 1) return this[0]; | 3181 if (length == 1) return this[0]; |
3182 if (length == 0) throw new StateError("No elements"); | 3182 if (length == 0) throw new StateError("No elements"); |
3183 throw new StateError("More than one element"); | 3183 throw new StateError("More than one element"); |
3184 } | 3184 } |
3185 | 3185 |
3186 Length min([int compare(Length a, Length b)]) => IterableMixinWorkaround.min(t
his, compare); | 3186 Length min([int compare(Length a, Length b)]) => IterableMixinWorkaround.min(t
his, compare); |
3187 | 3187 |
3188 Length max([int compare(Length a, Length b)]) => IterableMixinWorkaround.max(t
his, compare); | 3188 Length max([int compare(Length a, Length b)]) => IterableMixinWorkaround.max(t
his, compare); |
3189 | 3189 |
3190 Length removeAt(int pos) { | 3190 Length removeAt(int pos) { |
3191 throw new UnsupportedError("Cannot removeAt on immutable List."); | 3191 throw new UnsupportedError("Cannot remove from immutable List."); |
3192 } | 3192 } |
3193 | 3193 |
3194 Length removeLast() { | 3194 Length removeLast() { |
3195 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3195 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3196 } |
| 3197 |
| 3198 void remove(Object object) { |
| 3199 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3200 } |
| 3201 |
| 3202 void removeAll(Iterable elements) { |
| 3203 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3204 } |
| 3205 |
| 3206 void retainAll(Iterable elements) { |
| 3207 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3208 } |
| 3209 |
| 3210 void removeMatching(bool test(Length element)) { |
| 3211 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3212 } |
| 3213 |
| 3214 void retainMatching(bool test(Length element)) { |
| 3215 throw new UnsupportedError("Cannot remove from immutable List."); |
3196 } | 3216 } |
3197 | 3217 |
3198 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ | 3218 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ |
3199 throw new UnsupportedError("Cannot setRange on immutable List."); | 3219 throw new UnsupportedError("Cannot setRange on immutable List."); |
3200 } | 3220 } |
3201 | 3221 |
3202 void removeRange(int start, int rangeLength) { | 3222 void removeRange(int start, int rangeLength) { |
3203 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3223 throw new UnsupportedError("Cannot removeRange on immutable List."); |
3204 } | 3224 } |
3205 | 3225 |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3734 | 3754 |
3735 void addAll(Iterable<Number> iterable) { | 3755 void addAll(Iterable<Number> iterable) { |
3736 throw new UnsupportedError("Cannot add to immutable List."); | 3756 throw new UnsupportedError("Cannot add to immutable List."); |
3737 } | 3757 } |
3738 | 3758 |
3739 // From List<Number>: | 3759 // From List<Number>: |
3740 void set length(int value) { | 3760 void set length(int value) { |
3741 throw new UnsupportedError("Cannot resize immutable List."); | 3761 throw new UnsupportedError("Cannot resize immutable List."); |
3742 } | 3762 } |
3743 | 3763 |
3744 // contains() defined by IDL. | 3764 // clear() defined by IDL. |
3745 | 3765 |
3746 void sort([int compare(Number a, Number b)]) { | 3766 void sort([int compare(Number a, Number b)]) { |
3747 throw new UnsupportedError("Cannot sort immutable List."); | 3767 throw new UnsupportedError("Cannot sort immutable List."); |
3748 } | 3768 } |
3749 | 3769 |
3750 int indexOf(Number element, [int start = 0]) => | 3770 int indexOf(Number element, [int start = 0]) => |
3751 Lists.indexOf(this, element, start, this.length); | 3771 Lists.indexOf(this, element, start, this.length); |
3752 | 3772 |
3753 int lastIndexOf(Number element, [int start]) { | 3773 int lastIndexOf(Number element, [int start]) { |
3754 if (start == null) start = length - 1; | 3774 if (start == null) start = length - 1; |
(...skipping 14 matching lines...) Expand all Loading... |
3769 if (length == 1) return this[0]; | 3789 if (length == 1) return this[0]; |
3770 if (length == 0) throw new StateError("No elements"); | 3790 if (length == 0) throw new StateError("No elements"); |
3771 throw new StateError("More than one element"); | 3791 throw new StateError("More than one element"); |
3772 } | 3792 } |
3773 | 3793 |
3774 Number min([int compare(Number a, Number b)]) => IterableMixinWorkaround.min(t
his, compare); | 3794 Number min([int compare(Number a, Number b)]) => IterableMixinWorkaround.min(t
his, compare); |
3775 | 3795 |
3776 Number max([int compare(Number a, Number b)]) => IterableMixinWorkaround.max(t
his, compare); | 3796 Number max([int compare(Number a, Number b)]) => IterableMixinWorkaround.max(t
his, compare); |
3777 | 3797 |
3778 Number removeAt(int pos) { | 3798 Number removeAt(int pos) { |
3779 throw new UnsupportedError("Cannot removeAt on immutable List."); | 3799 throw new UnsupportedError("Cannot remove from immutable List."); |
3780 } | 3800 } |
3781 | 3801 |
3782 Number removeLast() { | 3802 Number removeLast() { |
3783 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3803 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3804 } |
| 3805 |
| 3806 void remove(Object object) { |
| 3807 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3808 } |
| 3809 |
| 3810 void removeAll(Iterable elements) { |
| 3811 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3812 } |
| 3813 |
| 3814 void retainAll(Iterable elements) { |
| 3815 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3816 } |
| 3817 |
| 3818 void removeMatching(bool test(Number element)) { |
| 3819 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3820 } |
| 3821 |
| 3822 void retainMatching(bool test(Number element)) { |
| 3823 throw new UnsupportedError("Cannot remove from immutable List."); |
3784 } | 3824 } |
3785 | 3825 |
3786 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ | 3826 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ |
3787 throw new UnsupportedError("Cannot setRange on immutable List."); | 3827 throw new UnsupportedError("Cannot setRange on immutable List."); |
3788 } | 3828 } |
3789 | 3829 |
3790 void removeRange(int start, int rangeLength) { | 3830 void removeRange(int start, int rangeLength) { |
3791 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3831 throw new UnsupportedError("Cannot removeRange on immutable List."); |
3792 } | 3832 } |
3793 | 3833 |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4524 | 4564 |
4525 void addAll(Iterable<PathSeg> iterable) { | 4565 void addAll(Iterable<PathSeg> iterable) { |
4526 throw new UnsupportedError("Cannot add to immutable List."); | 4566 throw new UnsupportedError("Cannot add to immutable List."); |
4527 } | 4567 } |
4528 | 4568 |
4529 // From List<PathSeg>: | 4569 // From List<PathSeg>: |
4530 void set length(int value) { | 4570 void set length(int value) { |
4531 throw new UnsupportedError("Cannot resize immutable List."); | 4571 throw new UnsupportedError("Cannot resize immutable List."); |
4532 } | 4572 } |
4533 | 4573 |
4534 // contains() defined by IDL. | 4574 // clear() defined by IDL. |
4535 | 4575 |
4536 void sort([int compare(PathSeg a, PathSeg b)]) { | 4576 void sort([int compare(PathSeg a, PathSeg b)]) { |
4537 throw new UnsupportedError("Cannot sort immutable List."); | 4577 throw new UnsupportedError("Cannot sort immutable List."); |
4538 } | 4578 } |
4539 | 4579 |
4540 int indexOf(PathSeg element, [int start = 0]) => | 4580 int indexOf(PathSeg element, [int start = 0]) => |
4541 Lists.indexOf(this, element, start, this.length); | 4581 Lists.indexOf(this, element, start, this.length); |
4542 | 4582 |
4543 int lastIndexOf(PathSeg element, [int start]) { | 4583 int lastIndexOf(PathSeg element, [int start]) { |
4544 if (start == null) start = length - 1; | 4584 if (start == null) start = length - 1; |
(...skipping 14 matching lines...) Expand all Loading... |
4559 if (length == 1) return this[0]; | 4599 if (length == 1) return this[0]; |
4560 if (length == 0) throw new StateError("No elements"); | 4600 if (length == 0) throw new StateError("No elements"); |
4561 throw new StateError("More than one element"); | 4601 throw new StateError("More than one element"); |
4562 } | 4602 } |
4563 | 4603 |
4564 PathSeg min([int compare(PathSeg a, PathSeg b)]) => IterableMixinWorkaround.mi
n(this, compare); | 4604 PathSeg min([int compare(PathSeg a, PathSeg b)]) => IterableMixinWorkaround.mi
n(this, compare); |
4565 | 4605 |
4566 PathSeg max([int compare(PathSeg a, PathSeg b)]) => IterableMixinWorkaround.ma
x(this, compare); | 4606 PathSeg max([int compare(PathSeg a, PathSeg b)]) => IterableMixinWorkaround.ma
x(this, compare); |
4567 | 4607 |
4568 PathSeg removeAt(int pos) { | 4608 PathSeg removeAt(int pos) { |
4569 throw new UnsupportedError("Cannot removeAt on immutable List."); | 4609 throw new UnsupportedError("Cannot remove from immutable List."); |
4570 } | 4610 } |
4571 | 4611 |
4572 PathSeg removeLast() { | 4612 PathSeg removeLast() { |
4573 throw new UnsupportedError("Cannot removeLast on immutable List."); | 4613 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4614 } |
| 4615 |
| 4616 void remove(Object object) { |
| 4617 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4618 } |
| 4619 |
| 4620 void removeAll(Iterable elements) { |
| 4621 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4622 } |
| 4623 |
| 4624 void retainAll(Iterable elements) { |
| 4625 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4626 } |
| 4627 |
| 4628 void removeMatching(bool test(PathSeg element)) { |
| 4629 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4630 } |
| 4631 |
| 4632 void retainMatching(bool test(PathSeg element)) { |
| 4633 throw new UnsupportedError("Cannot remove from immutable List."); |
4574 } | 4634 } |
4575 | 4635 |
4576 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ | 4636 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ |
4577 throw new UnsupportedError("Cannot setRange on immutable List."); | 4637 throw new UnsupportedError("Cannot setRange on immutable List."); |
4578 } | 4638 } |
4579 | 4639 |
4580 void removeRange(int start, int rangeLength) { | 4640 void removeRange(int start, int rangeLength) { |
4581 throw new UnsupportedError("Cannot removeRange on immutable List."); | 4641 throw new UnsupportedError("Cannot removeRange on immutable List."); |
4582 } | 4642 } |
4583 | 4643 |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5325 | 5385 |
5326 void addAll(Iterable<String> iterable) { | 5386 void addAll(Iterable<String> iterable) { |
5327 throw new UnsupportedError("Cannot add to immutable List."); | 5387 throw new UnsupportedError("Cannot add to immutable List."); |
5328 } | 5388 } |
5329 | 5389 |
5330 // From List<String>: | 5390 // From List<String>: |
5331 void set length(int value) { | 5391 void set length(int value) { |
5332 throw new UnsupportedError("Cannot resize immutable List."); | 5392 throw new UnsupportedError("Cannot resize immutable List."); |
5333 } | 5393 } |
5334 | 5394 |
5335 // contains() defined by IDL. | 5395 // clear() defined by IDL. |
5336 | 5396 |
5337 void sort([int compare(String a, String b)]) { | 5397 void sort([int compare(String a, String b)]) { |
5338 throw new UnsupportedError("Cannot sort immutable List."); | 5398 throw new UnsupportedError("Cannot sort immutable List."); |
5339 } | 5399 } |
5340 | 5400 |
5341 int indexOf(String element, [int start = 0]) => | 5401 int indexOf(String element, [int start = 0]) => |
5342 Lists.indexOf(this, element, start, this.length); | 5402 Lists.indexOf(this, element, start, this.length); |
5343 | 5403 |
5344 int lastIndexOf(String element, [int start]) { | 5404 int lastIndexOf(String element, [int start]) { |
5345 if (start == null) start = length - 1; | 5405 if (start == null) start = length - 1; |
(...skipping 14 matching lines...) Expand all Loading... |
5360 if (length == 1) return this[0]; | 5420 if (length == 1) return this[0]; |
5361 if (length == 0) throw new StateError("No elements"); | 5421 if (length == 0) throw new StateError("No elements"); |
5362 throw new StateError("More than one element"); | 5422 throw new StateError("More than one element"); |
5363 } | 5423 } |
5364 | 5424 |
5365 String min([int compare(String a, String b)]) => IterableMixinWorkaround.min(t
his, compare); | 5425 String min([int compare(String a, String b)]) => IterableMixinWorkaround.min(t
his, compare); |
5366 | 5426 |
5367 String max([int compare(String a, String b)]) => IterableMixinWorkaround.max(t
his, compare); | 5427 String max([int compare(String a, String b)]) => IterableMixinWorkaround.max(t
his, compare); |
5368 | 5428 |
5369 String removeAt(int pos) { | 5429 String removeAt(int pos) { |
5370 throw new UnsupportedError("Cannot removeAt on immutable List."); | 5430 throw new UnsupportedError("Cannot remove from immutable List."); |
5371 } | 5431 } |
5372 | 5432 |
5373 String removeLast() { | 5433 String removeLast() { |
5374 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5434 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5435 } |
| 5436 |
| 5437 void remove(Object object) { |
| 5438 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5439 } |
| 5440 |
| 5441 void removeAll(Iterable elements) { |
| 5442 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5443 } |
| 5444 |
| 5445 void retainAll(Iterable elements) { |
| 5446 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5447 } |
| 5448 |
| 5449 void removeMatching(bool test(String element)) { |
| 5450 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5451 } |
| 5452 |
| 5453 void retainMatching(bool test(String element)) { |
| 5454 throw new UnsupportedError("Cannot remove from immutable List."); |
5375 } | 5455 } |
5376 | 5456 |
5377 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ | 5457 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ |
5378 throw new UnsupportedError("Cannot setRange on immutable List."); | 5458 throw new UnsupportedError("Cannot setRange on immutable List."); |
5379 } | 5459 } |
5380 | 5460 |
5381 void removeRange(int start, int rangeLength) { | 5461 void removeRange(int start, int rangeLength) { |
5382 throw new UnsupportedError("Cannot removeRange on immutable List."); | 5462 throw new UnsupportedError("Cannot removeRange on immutable List."); |
5383 } | 5463 } |
5384 | 5464 |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6388 | 6468 |
6389 void addAll(Iterable<Transform> iterable) { | 6469 void addAll(Iterable<Transform> iterable) { |
6390 throw new UnsupportedError("Cannot add to immutable List."); | 6470 throw new UnsupportedError("Cannot add to immutable List."); |
6391 } | 6471 } |
6392 | 6472 |
6393 // From List<Transform>: | 6473 // From List<Transform>: |
6394 void set length(int value) { | 6474 void set length(int value) { |
6395 throw new UnsupportedError("Cannot resize immutable List."); | 6475 throw new UnsupportedError("Cannot resize immutable List."); |
6396 } | 6476 } |
6397 | 6477 |
6398 // contains() defined by IDL. | 6478 // clear() defined by IDL. |
6399 | 6479 |
6400 void sort([int compare(Transform a, Transform b)]) { | 6480 void sort([int compare(Transform a, Transform b)]) { |
6401 throw new UnsupportedError("Cannot sort immutable List."); | 6481 throw new UnsupportedError("Cannot sort immutable List."); |
6402 } | 6482 } |
6403 | 6483 |
6404 int indexOf(Transform element, [int start = 0]) => | 6484 int indexOf(Transform element, [int start = 0]) => |
6405 Lists.indexOf(this, element, start, this.length); | 6485 Lists.indexOf(this, element, start, this.length); |
6406 | 6486 |
6407 int lastIndexOf(Transform element, [int start]) { | 6487 int lastIndexOf(Transform element, [int start]) { |
6408 if (start == null) start = length - 1; | 6488 if (start == null) start = length - 1; |
(...skipping 14 matching lines...) Expand all Loading... |
6423 if (length == 1) return this[0]; | 6503 if (length == 1) return this[0]; |
6424 if (length == 0) throw new StateError("No elements"); | 6504 if (length == 0) throw new StateError("No elements"); |
6425 throw new StateError("More than one element"); | 6505 throw new StateError("More than one element"); |
6426 } | 6506 } |
6427 | 6507 |
6428 Transform min([int compare(Transform a, Transform b)]) => IterableMixinWorkaro
und.min(this, compare); | 6508 Transform min([int compare(Transform a, Transform b)]) => IterableMixinWorkaro
und.min(this, compare); |
6429 | 6509 |
6430 Transform max([int compare(Transform a, Transform b)]) => IterableMixinWorkaro
und.max(this, compare); | 6510 Transform max([int compare(Transform a, Transform b)]) => IterableMixinWorkaro
und.max(this, compare); |
6431 | 6511 |
6432 Transform removeAt(int pos) { | 6512 Transform removeAt(int pos) { |
6433 throw new UnsupportedError("Cannot removeAt on immutable List."); | 6513 throw new UnsupportedError("Cannot remove from immutable List."); |
6434 } | 6514 } |
6435 | 6515 |
6436 Transform removeLast() { | 6516 Transform removeLast() { |
6437 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6517 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6518 } |
| 6519 |
| 6520 void remove(Object object) { |
| 6521 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6522 } |
| 6523 |
| 6524 void removeAll(Iterable elements) { |
| 6525 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6526 } |
| 6527 |
| 6528 void retainAll(Iterable elements) { |
| 6529 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6530 } |
| 6531 |
| 6532 void removeMatching(bool test(Transform element)) { |
| 6533 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6534 } |
| 6535 |
| 6536 void retainMatching(bool test(Transform element)) { |
| 6537 throw new UnsupportedError("Cannot remove from immutable List."); |
6438 } | 6538 } |
6439 | 6539 |
6440 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { | 6540 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { |
6441 throw new UnsupportedError("Cannot setRange on immutable List."); | 6541 throw new UnsupportedError("Cannot setRange on immutable List."); |
6442 } | 6542 } |
6443 | 6543 |
6444 void removeRange(int start, int rangeLength) { | 6544 void removeRange(int start, int rangeLength) { |
6445 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6545 throw new UnsupportedError("Cannot removeRange on immutable List."); |
6446 } | 6546 } |
6447 | 6547 |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6891 if (length == 1) return this[0]; | 6991 if (length == 1) return this[0]; |
6892 if (length == 0) throw new StateError("No elements"); | 6992 if (length == 0) throw new StateError("No elements"); |
6893 throw new StateError("More than one element"); | 6993 throw new StateError("More than one element"); |
6894 } | 6994 } |
6895 | 6995 |
6896 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => It
erableMixinWorkaround.min(this, compare); | 6996 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => It
erableMixinWorkaround.min(this, compare); |
6897 | 6997 |
6898 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => It
erableMixinWorkaround.max(this, compare); | 6998 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => It
erableMixinWorkaround.max(this, compare); |
6899 | 6999 |
6900 ElementInstance removeAt(int pos) { | 7000 ElementInstance removeAt(int pos) { |
6901 throw new UnsupportedError("Cannot removeAt on immutable List."); | 7001 throw new UnsupportedError("Cannot remove from immutable List."); |
6902 } | 7002 } |
6903 | 7003 |
6904 ElementInstance removeLast() { | 7004 ElementInstance removeLast() { |
6905 throw new UnsupportedError("Cannot removeLast on immutable List."); | 7005 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7006 } |
| 7007 |
| 7008 void remove(Object object) { |
| 7009 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7010 } |
| 7011 |
| 7012 void removeAll(Iterable elements) { |
| 7013 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7014 } |
| 7015 |
| 7016 void retainAll(Iterable elements) { |
| 7017 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7018 } |
| 7019 |
| 7020 void removeMatching(bool test(ElementInstance element)) { |
| 7021 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7022 } |
| 7023 |
| 7024 void retainMatching(bool test(ElementInstance element)) { |
| 7025 throw new UnsupportedError("Cannot remove from immutable List."); |
6906 } | 7026 } |
6907 | 7027 |
6908 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { | 7028 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { |
6909 throw new UnsupportedError("Cannot setRange on immutable List."); | 7029 throw new UnsupportedError("Cannot setRange on immutable List."); |
6910 } | 7030 } |
6911 | 7031 |
6912 void removeRange(int start, int rangeLength) { | 7032 void removeRange(int start, int rangeLength) { |
6913 throw new UnsupportedError("Cannot removeRange on immutable List."); | 7033 throw new UnsupportedError("Cannot removeRange on immutable List."); |
6914 } | 7034 } |
6915 | 7035 |
6916 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { | 7036 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { |
6917 throw new UnsupportedError("Cannot insertRange on immutable List."); | 7037 throw new UnsupportedError("Cannot insertRange on immutable List."); |
6918 } | 7038 } |
6919 | 7039 |
6920 List<ElementInstance> getRange(int start, int rangeLength) => | 7040 List<ElementInstance> getRange(int start, int rangeLength) => |
6921 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 7041 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
6922 | 7042 |
6923 // -- end List<ElementInstance> mixins. | 7043 // -- end List<ElementInstance> mixins. |
6924 | 7044 |
6925 @DocsEditable @DomName('SVGElementInstanceList.item') | 7045 @DocsEditable @DomName('SVGElementInstanceList.item') |
6926 ElementInstance item(int index) native; | 7046 ElementInstance item(int index) native; |
6927 } | 7047 } |
OLD | NEW |