| 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 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 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3723 String join([String separator]) => Collections.joinList(this, separator); | 3723 String join([String separator]) => Collections.joinList(this, separator); |
| 3724 | 3724 |
| 3725 List mappedBy(f(Length element)) => new MappedList<Length, dynamic>(this, f); | 3725 List mappedBy(f(Length element)) => new MappedList<Length, dynamic>(this, f); |
| 3726 | 3726 |
| 3727 Iterable<Length> where(bool f(Length element)) => new WhereIterable<Length>(th
is, f); | 3727 Iterable<Length> where(bool f(Length element)) => new WhereIterable<Length>(th
is, f); |
| 3728 | 3728 |
| 3729 bool every(bool f(Length element)) => Collections.every(this, f); | 3729 bool every(bool f(Length element)) => Collections.every(this, f); |
| 3730 | 3730 |
| 3731 bool any(bool f(Length element)) => Collections.any(this, f); | 3731 bool any(bool f(Length element)) => Collections.any(this, f); |
| 3732 | 3732 |
| 3733 List<Length> toList() => new List<Length>.from(this); |
| 3734 Set<Length> toSet() => new Set<Length>.from(this); |
| 3735 |
| 3733 bool get isEmpty => this.length == 0; | 3736 bool get isEmpty => this.length == 0; |
| 3734 | 3737 |
| 3735 List<Length> take(int n) => new ListView<Length>(this, 0, n); | 3738 List<Length> take(int n) => new ListView<Length>(this, 0, n); |
| 3736 | 3739 |
| 3737 Iterable<Length> takeWhile(bool test(Length value)) { | 3740 Iterable<Length> takeWhile(bool test(Length value)) { |
| 3738 return new TakeWhileIterable<Length>(this, test); | 3741 return new TakeWhileIterable<Length>(this, test); |
| 3739 } | 3742 } |
| 3740 | 3743 |
| 3741 List<Length> skip(int n) => new ListView<Length>(this, n, null); | 3744 List<Length> skip(int n) => new ListView<Length>(this, n, null); |
| 3742 | 3745 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3802 if (this.length > 0) return this[this.length - 1]; | 3805 if (this.length > 0) return this[this.length - 1]; |
| 3803 throw new StateError("No elements"); | 3806 throw new StateError("No elements"); |
| 3804 } | 3807 } |
| 3805 | 3808 |
| 3806 Length get single { | 3809 Length get single { |
| 3807 if (length == 1) return this[0]; | 3810 if (length == 1) return this[0]; |
| 3808 if (length == 0) throw new StateError("No elements"); | 3811 if (length == 0) throw new StateError("No elements"); |
| 3809 throw new StateError("More than one element"); | 3812 throw new StateError("More than one element"); |
| 3810 } | 3813 } |
| 3811 | 3814 |
| 3812 Length min([int compare(Length a, Length b)]) => _Collections.minInList(this,
compare); | 3815 Length min([int compare(Length a, Length b)]) => Collections.min(this, compare
); |
| 3813 | 3816 |
| 3814 Length max([int compare(Length a, Length b)]) => _Collections.maxInList(this,
compare); | 3817 Length max([int compare(Length a, Length b)]) => Collections.max(this, compare
); |
| 3815 | 3818 |
| 3816 Length removeAt(int pos) { | 3819 Length removeAt(int pos) { |
| 3817 throw new UnsupportedError("Cannot removeAt on immutable List."); | 3820 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 3818 } | 3821 } |
| 3819 | 3822 |
| 3820 Length removeLast() { | 3823 Length removeLast() { |
| 3821 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3824 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 3822 } | 3825 } |
| 3823 | 3826 |
| 3824 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ | 3827 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4447 String join([String separator]) => Collections.joinList(this, separator); | 4450 String join([String separator]) => Collections.joinList(this, separator); |
| 4448 | 4451 |
| 4449 List mappedBy(f(Number element)) => new MappedList<Number, dynamic>(this, f); | 4452 List mappedBy(f(Number element)) => new MappedList<Number, dynamic>(this, f); |
| 4450 | 4453 |
| 4451 Iterable<Number> where(bool f(Number element)) => new WhereIterable<Number>(th
is, f); | 4454 Iterable<Number> where(bool f(Number element)) => new WhereIterable<Number>(th
is, f); |
| 4452 | 4455 |
| 4453 bool every(bool f(Number element)) => Collections.every(this, f); | 4456 bool every(bool f(Number element)) => Collections.every(this, f); |
| 4454 | 4457 |
| 4455 bool any(bool f(Number element)) => Collections.any(this, f); | 4458 bool any(bool f(Number element)) => Collections.any(this, f); |
| 4456 | 4459 |
| 4460 List<Number> toList() => new List<Number>.from(this); |
| 4461 Set<Number> toSet() => new Set<Number>.from(this); |
| 4462 |
| 4457 bool get isEmpty => this.length == 0; | 4463 bool get isEmpty => this.length == 0; |
| 4458 | 4464 |
| 4459 List<Number> take(int n) => new ListView<Number>(this, 0, n); | 4465 List<Number> take(int n) => new ListView<Number>(this, 0, n); |
| 4460 | 4466 |
| 4461 Iterable<Number> takeWhile(bool test(Number value)) { | 4467 Iterable<Number> takeWhile(bool test(Number value)) { |
| 4462 return new TakeWhileIterable<Number>(this, test); | 4468 return new TakeWhileIterable<Number>(this, test); |
| 4463 } | 4469 } |
| 4464 | 4470 |
| 4465 List<Number> skip(int n) => new ListView<Number>(this, n, null); | 4471 List<Number> skip(int n) => new ListView<Number>(this, n, null); |
| 4466 | 4472 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4526 if (this.length > 0) return this[this.length - 1]; | 4532 if (this.length > 0) return this[this.length - 1]; |
| 4527 throw new StateError("No elements"); | 4533 throw new StateError("No elements"); |
| 4528 } | 4534 } |
| 4529 | 4535 |
| 4530 Number get single { | 4536 Number get single { |
| 4531 if (length == 1) return this[0]; | 4537 if (length == 1) return this[0]; |
| 4532 if (length == 0) throw new StateError("No elements"); | 4538 if (length == 0) throw new StateError("No elements"); |
| 4533 throw new StateError("More than one element"); | 4539 throw new StateError("More than one element"); |
| 4534 } | 4540 } |
| 4535 | 4541 |
| 4536 Number min([int compare(Number a, Number b)]) => _Collections.minInList(this,
compare); | 4542 Number min([int compare(Number a, Number b)]) => Collections.min(this, compare
); |
| 4537 | 4543 |
| 4538 Number max([int compare(Number a, Number b)]) => _Collections.maxInList(this,
compare); | 4544 Number max([int compare(Number a, Number b)]) => Collections.max(this, compare
); |
| 4539 | 4545 |
| 4540 Number removeAt(int pos) { | 4546 Number removeAt(int pos) { |
| 4541 throw new UnsupportedError("Cannot removeAt on immutable List."); | 4547 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 4542 } | 4548 } |
| 4543 | 4549 |
| 4544 Number removeLast() { | 4550 Number removeLast() { |
| 4545 throw new UnsupportedError("Cannot removeLast on immutable List."); | 4551 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 4546 } | 4552 } |
| 4547 | 4553 |
| 4548 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ | 4554 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ |
| (...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5579 String join([String separator]) => Collections.joinList(this, separator); | 5585 String join([String separator]) => Collections.joinList(this, separator); |
| 5580 | 5586 |
| 5581 List mappedBy(f(PathSeg element)) => new MappedList<PathSeg, dynamic>(this, f)
; | 5587 List mappedBy(f(PathSeg element)) => new MappedList<PathSeg, dynamic>(this, f)
; |
| 5582 | 5588 |
| 5583 Iterable<PathSeg> where(bool f(PathSeg element)) => new WhereIterable<PathSeg>
(this, f); | 5589 Iterable<PathSeg> where(bool f(PathSeg element)) => new WhereIterable<PathSeg>
(this, f); |
| 5584 | 5590 |
| 5585 bool every(bool f(PathSeg element)) => Collections.every(this, f); | 5591 bool every(bool f(PathSeg element)) => Collections.every(this, f); |
| 5586 | 5592 |
| 5587 bool any(bool f(PathSeg element)) => Collections.any(this, f); | 5593 bool any(bool f(PathSeg element)) => Collections.any(this, f); |
| 5588 | 5594 |
| 5595 List<PathSeg> toList() => new List<PathSeg>.from(this); |
| 5596 Set<PathSeg> toSet() => new Set<PathSeg>.from(this); |
| 5597 |
| 5589 bool get isEmpty => this.length == 0; | 5598 bool get isEmpty => this.length == 0; |
| 5590 | 5599 |
| 5591 List<PathSeg> take(int n) => new ListView<PathSeg>(this, 0, n); | 5600 List<PathSeg> take(int n) => new ListView<PathSeg>(this, 0, n); |
| 5592 | 5601 |
| 5593 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { | 5602 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { |
| 5594 return new TakeWhileIterable<PathSeg>(this, test); | 5603 return new TakeWhileIterable<PathSeg>(this, test); |
| 5595 } | 5604 } |
| 5596 | 5605 |
| 5597 List<PathSeg> skip(int n) => new ListView<PathSeg>(this, n, null); | 5606 List<PathSeg> skip(int n) => new ListView<PathSeg>(this, n, null); |
| 5598 | 5607 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5658 if (this.length > 0) return this[this.length - 1]; | 5667 if (this.length > 0) return this[this.length - 1]; |
| 5659 throw new StateError("No elements"); | 5668 throw new StateError("No elements"); |
| 5660 } | 5669 } |
| 5661 | 5670 |
| 5662 PathSeg get single { | 5671 PathSeg get single { |
| 5663 if (length == 1) return this[0]; | 5672 if (length == 1) return this[0]; |
| 5664 if (length == 0) throw new StateError("No elements"); | 5673 if (length == 0) throw new StateError("No elements"); |
| 5665 throw new StateError("More than one element"); | 5674 throw new StateError("More than one element"); |
| 5666 } | 5675 } |
| 5667 | 5676 |
| 5668 PathSeg min([int compare(PathSeg a, PathSeg b)]) => _Collections.minInList(thi
s, compare); | 5677 PathSeg min([int compare(PathSeg a, PathSeg b)]) => Collections.min(this, comp
are); |
| 5669 | 5678 |
| 5670 PathSeg max([int compare(PathSeg a, PathSeg b)]) => _Collections.maxInList(thi
s, compare); | 5679 PathSeg max([int compare(PathSeg a, PathSeg b)]) => Collections.max(this, comp
are); |
| 5671 | 5680 |
| 5672 PathSeg removeAt(int pos) { | 5681 PathSeg removeAt(int pos) { |
| 5673 throw new UnsupportedError("Cannot removeAt on immutable List."); | 5682 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 5674 } | 5683 } |
| 5675 | 5684 |
| 5676 PathSeg removeLast() { | 5685 PathSeg removeLast() { |
| 5677 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5686 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 5678 } | 5687 } |
| 5679 | 5688 |
| 5680 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ | 5689 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6556 String join([String separator]) => Collections.joinList(this, separator); | 6565 String join([String separator]) => Collections.joinList(this, separator); |
| 6557 | 6566 |
| 6558 List mappedBy(f(String element)) => new MappedList<String, dynamic>(this, f); | 6567 List mappedBy(f(String element)) => new MappedList<String, dynamic>(this, f); |
| 6559 | 6568 |
| 6560 Iterable<String> where(bool f(String element)) => new WhereIterable<String>(th
is, f); | 6569 Iterable<String> where(bool f(String element)) => new WhereIterable<String>(th
is, f); |
| 6561 | 6570 |
| 6562 bool every(bool f(String element)) => Collections.every(this, f); | 6571 bool every(bool f(String element)) => Collections.every(this, f); |
| 6563 | 6572 |
| 6564 bool any(bool f(String element)) => Collections.any(this, f); | 6573 bool any(bool f(String element)) => Collections.any(this, f); |
| 6565 | 6574 |
| 6575 List<String> toList() => new List<String>.from(this); |
| 6576 Set<String> toSet() => new Set<String>.from(this); |
| 6577 |
| 6566 bool get isEmpty => this.length == 0; | 6578 bool get isEmpty => this.length == 0; |
| 6567 | 6579 |
| 6568 List<String> take(int n) => new ListView<String>(this, 0, n); | 6580 List<String> take(int n) => new ListView<String>(this, 0, n); |
| 6569 | 6581 |
| 6570 Iterable<String> takeWhile(bool test(String value)) { | 6582 Iterable<String> takeWhile(bool test(String value)) { |
| 6571 return new TakeWhileIterable<String>(this, test); | 6583 return new TakeWhileIterable<String>(this, test); |
| 6572 } | 6584 } |
| 6573 | 6585 |
| 6574 List<String> skip(int n) => new ListView<String>(this, n, null); | 6586 List<String> skip(int n) => new ListView<String>(this, n, null); |
| 6575 | 6587 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6635 if (this.length > 0) return this[this.length - 1]; | 6647 if (this.length > 0) return this[this.length - 1]; |
| 6636 throw new StateError("No elements"); | 6648 throw new StateError("No elements"); |
| 6637 } | 6649 } |
| 6638 | 6650 |
| 6639 String get single { | 6651 String get single { |
| 6640 if (length == 1) return this[0]; | 6652 if (length == 1) return this[0]; |
| 6641 if (length == 0) throw new StateError("No elements"); | 6653 if (length == 0) throw new StateError("No elements"); |
| 6642 throw new StateError("More than one element"); | 6654 throw new StateError("More than one element"); |
| 6643 } | 6655 } |
| 6644 | 6656 |
| 6645 String min([int compare(String a, String b)]) => _Collections.minInList(this,
compare); | 6657 String min([int compare(String a, String b)]) => Collections.min(this, compare
); |
| 6646 | 6658 |
| 6647 String max([int compare(String a, String b)]) => _Collections.maxInList(this,
compare); | 6659 String max([int compare(String a, String b)]) => Collections.max(this, compare
); |
| 6648 | 6660 |
| 6649 String removeAt(int pos) { | 6661 String removeAt(int pos) { |
| 6650 throw new UnsupportedError("Cannot removeAt on immutable List."); | 6662 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 6651 } | 6663 } |
| 6652 | 6664 |
| 6653 String removeLast() { | 6665 String removeLast() { |
| 6654 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6666 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 6655 } | 6667 } |
| 6656 | 6668 |
| 6657 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ | 6669 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ |
| (...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7828 String join([String separator]) => Collections.joinList(this, separator); | 7840 String join([String separator]) => Collections.joinList(this, separator); |
| 7829 | 7841 |
| 7830 List mappedBy(f(Transform element)) => new MappedList<Transform, dynamic>(this
, f); | 7842 List mappedBy(f(Transform element)) => new MappedList<Transform, dynamic>(this
, f); |
| 7831 | 7843 |
| 7832 Iterable<Transform> where(bool f(Transform element)) => new WhereIterable<Tran
sform>(this, f); | 7844 Iterable<Transform> where(bool f(Transform element)) => new WhereIterable<Tran
sform>(this, f); |
| 7833 | 7845 |
| 7834 bool every(bool f(Transform element)) => Collections.every(this, f); | 7846 bool every(bool f(Transform element)) => Collections.every(this, f); |
| 7835 | 7847 |
| 7836 bool any(bool f(Transform element)) => Collections.any(this, f); | 7848 bool any(bool f(Transform element)) => Collections.any(this, f); |
| 7837 | 7849 |
| 7850 List<Transform> toList() => new List<Transform>.from(this); |
| 7851 Set<Transform> toSet() => new Set<Transform>.from(this); |
| 7852 |
| 7838 bool get isEmpty => this.length == 0; | 7853 bool get isEmpty => this.length == 0; |
| 7839 | 7854 |
| 7840 List<Transform> take(int n) => new ListView<Transform>(this, 0, n); | 7855 List<Transform> take(int n) => new ListView<Transform>(this, 0, n); |
| 7841 | 7856 |
| 7842 Iterable<Transform> takeWhile(bool test(Transform value)) { | 7857 Iterable<Transform> takeWhile(bool test(Transform value)) { |
| 7843 return new TakeWhileIterable<Transform>(this, test); | 7858 return new TakeWhileIterable<Transform>(this, test); |
| 7844 } | 7859 } |
| 7845 | 7860 |
| 7846 List<Transform> skip(int n) => new ListView<Transform>(this, n, null); | 7861 List<Transform> skip(int n) => new ListView<Transform>(this, n, null); |
| 7847 | 7862 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7907 if (this.length > 0) return this[this.length - 1]; | 7922 if (this.length > 0) return this[this.length - 1]; |
| 7908 throw new StateError("No elements"); | 7923 throw new StateError("No elements"); |
| 7909 } | 7924 } |
| 7910 | 7925 |
| 7911 Transform get single { | 7926 Transform get single { |
| 7912 if (length == 1) return this[0]; | 7927 if (length == 1) return this[0]; |
| 7913 if (length == 0) throw new StateError("No elements"); | 7928 if (length == 0) throw new StateError("No elements"); |
| 7914 throw new StateError("More than one element"); | 7929 throw new StateError("More than one element"); |
| 7915 } | 7930 } |
| 7916 | 7931 |
| 7917 Transform min([int compare(Transform a, Transform b)]) => _Collections.minInLi
st(this, compare); | 7932 Transform min([int compare(Transform a, Transform b)]) => Collections.min(this
, compare); |
| 7918 | 7933 |
| 7919 Transform max([int compare(Transform a, Transform b)]) => _Collections.maxInLi
st(this, compare); | 7934 Transform max([int compare(Transform a, Transform b)]) => Collections.max(this
, compare); |
| 7920 | 7935 |
| 7921 Transform removeAt(int pos) { | 7936 Transform removeAt(int pos) { |
| 7922 throw new UnsupportedError("Cannot removeAt on immutable List."); | 7937 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 7923 } | 7938 } |
| 7924 | 7939 |
| 7925 Transform removeLast() { | 7940 Transform removeLast() { |
| 7926 throw new UnsupportedError("Cannot removeLast on immutable List."); | 7941 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 7927 } | 7942 } |
| 7928 | 7943 |
| 7929 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { | 7944 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8380 String join([String separator]) => Collections.joinList(this, separator); | 8395 String join([String separator]) => Collections.joinList(this, separator); |
| 8381 | 8396 |
| 8382 List mappedBy(f(ElementInstance element)) => new MappedList<ElementInstance, d
ynamic>(this, f); | 8397 List mappedBy(f(ElementInstance element)) => new MappedList<ElementInstance, d
ynamic>(this, f); |
| 8383 | 8398 |
| 8384 Iterable<ElementInstance> where(bool f(ElementInstance element)) => new WhereI
terable<ElementInstance>(this, f); | 8399 Iterable<ElementInstance> where(bool f(ElementInstance element)) => new WhereI
terable<ElementInstance>(this, f); |
| 8385 | 8400 |
| 8386 bool every(bool f(ElementInstance element)) => Collections.every(this, f); | 8401 bool every(bool f(ElementInstance element)) => Collections.every(this, f); |
| 8387 | 8402 |
| 8388 bool any(bool f(ElementInstance element)) => Collections.any(this, f); | 8403 bool any(bool f(ElementInstance element)) => Collections.any(this, f); |
| 8389 | 8404 |
| 8405 List<ElementInstance> toList() => new List<ElementInstance>.from(this); |
| 8406 Set<ElementInstance> toSet() => new Set<ElementInstance>.from(this); |
| 8407 |
| 8390 bool get isEmpty => this.length == 0; | 8408 bool get isEmpty => this.length == 0; |
| 8391 | 8409 |
| 8392 List<ElementInstance> take(int n) => new ListView<ElementInstance>(this, 0, n)
; | 8410 List<ElementInstance> take(int n) => new ListView<ElementInstance>(this, 0, n)
; |
| 8393 | 8411 |
| 8394 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { | 8412 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { |
| 8395 return new TakeWhileIterable<ElementInstance>(this, test); | 8413 return new TakeWhileIterable<ElementInstance>(this, test); |
| 8396 } | 8414 } |
| 8397 | 8415 |
| 8398 List<ElementInstance> skip(int n) => new ListView<ElementInstance>(this, n, nu
ll); | 8416 List<ElementInstance> skip(int n) => new ListView<ElementInstance>(this, n, nu
ll); |
| 8399 | 8417 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8461 if (this.length > 0) return this[this.length - 1]; | 8479 if (this.length > 0) return this[this.length - 1]; |
| 8462 throw new StateError("No elements"); | 8480 throw new StateError("No elements"); |
| 8463 } | 8481 } |
| 8464 | 8482 |
| 8465 ElementInstance get single { | 8483 ElementInstance get single { |
| 8466 if (length == 1) return this[0]; | 8484 if (length == 1) return this[0]; |
| 8467 if (length == 0) throw new StateError("No elements"); | 8485 if (length == 0) throw new StateError("No elements"); |
| 8468 throw new StateError("More than one element"); | 8486 throw new StateError("More than one element"); |
| 8469 } | 8487 } |
| 8470 | 8488 |
| 8471 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => _C
ollections.minInList(this, compare); | 8489 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => Co
llections.min(this, compare); |
| 8472 | 8490 |
| 8473 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => _C
ollections.maxInList(this, compare); | 8491 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => Co
llections.max(this, compare); |
| 8474 | 8492 |
| 8475 ElementInstance removeAt(int pos) { | 8493 ElementInstance removeAt(int pos) { |
| 8476 throw new UnsupportedError("Cannot removeAt on immutable List."); | 8494 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 8477 } | 8495 } |
| 8478 | 8496 |
| 8479 ElementInstance removeLast() { | 8497 ElementInstance removeLast() { |
| 8480 throw new UnsupportedError("Cannot removeLast on immutable List."); | 8498 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 8481 } | 8499 } |
| 8482 | 8500 |
| 8483 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { | 8501 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 8495 List<ElementInstance> getRange(int start, int rangeLength) => | 8513 List<ElementInstance> getRange(int start, int rangeLength) => |
| 8496 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 8514 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 8497 | 8515 |
| 8498 // -- end List<ElementInstance> mixins. | 8516 // -- end List<ElementInstance> mixins. |
| 8499 | 8517 |
| 8500 | 8518 |
| 8501 /** @domName SVGElementInstanceList.item */ | 8519 /** @domName SVGElementInstanceList.item */ |
| 8502 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; | 8520 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; |
| 8503 | 8521 |
| 8504 } | 8522 } |
| OLD | NEW |