| 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 2967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2978 String join([String separator]) => Collections.joinList(this, separator); | 2978 String join([String separator]) => Collections.joinList(this, separator); |
| 2979 | 2979 |
| 2980 List mappedBy(f(Length element)) => new MappedList<Length, dynamic>(this, f); | 2980 List mappedBy(f(Length element)) => new MappedList<Length, dynamic>(this, f); |
| 2981 | 2981 |
| 2982 Iterable<Length> where(bool f(Length element)) => new WhereIterable<Length>(th
is, f); | 2982 Iterable<Length> where(bool f(Length element)) => new WhereIterable<Length>(th
is, f); |
| 2983 | 2983 |
| 2984 bool every(bool f(Length element)) => Collections.every(this, f); | 2984 bool every(bool f(Length element)) => Collections.every(this, f); |
| 2985 | 2985 |
| 2986 bool any(bool f(Length element)) => Collections.any(this, f); | 2986 bool any(bool f(Length element)) => Collections.any(this, f); |
| 2987 | 2987 |
| 2988 List<Length> toList() => new List<Length>.from(this); |
| 2989 Set<Length> toSet() => new Set<Length>.from(this); |
| 2990 |
| 2988 bool get isEmpty => this.length == 0; | 2991 bool get isEmpty => this.length == 0; |
| 2989 | 2992 |
| 2990 List<Length> take(int n) => new ListView<Length>(this, 0, n); | 2993 List<Length> take(int n) => new ListView<Length>(this, 0, n); |
| 2991 | 2994 |
| 2992 Iterable<Length> takeWhile(bool test(Length value)) { | 2995 Iterable<Length> takeWhile(bool test(Length value)) { |
| 2993 return new TakeWhileIterable<Length>(this, test); | 2996 return new TakeWhileIterable<Length>(this, test); |
| 2994 } | 2997 } |
| 2995 | 2998 |
| 2996 List<Length> skip(int n) => new ListView<Length>(this, n, null); | 2999 List<Length> skip(int n) => new ListView<Length>(this, n, null); |
| 2997 | 3000 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3057 if (this.length > 0) return this[this.length - 1]; | 3060 if (this.length > 0) return this[this.length - 1]; |
| 3058 throw new StateError("No elements"); | 3061 throw new StateError("No elements"); |
| 3059 } | 3062 } |
| 3060 | 3063 |
| 3061 Length get single { | 3064 Length get single { |
| 3062 if (length == 1) return this[0]; | 3065 if (length == 1) return this[0]; |
| 3063 if (length == 0) throw new StateError("No elements"); | 3066 if (length == 0) throw new StateError("No elements"); |
| 3064 throw new StateError("More than one element"); | 3067 throw new StateError("More than one element"); |
| 3065 } | 3068 } |
| 3066 | 3069 |
| 3067 Length min([int compare(Length a, Length b)]) => _Collections.minInList(this,
compare); | 3070 Length min([int compare(Length a, Length b)]) => Collections.min(this, compare
); |
| 3068 | 3071 |
| 3069 Length max([int compare(Length a, Length b)]) => _Collections.maxInList(this,
compare); | 3072 Length max([int compare(Length a, Length b)]) => Collections.max(this, compare
); |
| 3070 | 3073 |
| 3071 Length removeAt(int pos) { | 3074 Length removeAt(int pos) { |
| 3072 throw new UnsupportedError("Cannot removeAt on immutable List."); | 3075 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 3073 } | 3076 } |
| 3074 | 3077 |
| 3075 Length removeLast() { | 3078 Length removeLast() { |
| 3076 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3079 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 3077 } | 3080 } |
| 3078 | 3081 |
| 3079 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ | 3082 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3549 String join([String separator]) => Collections.joinList(this, separator); | 3552 String join([String separator]) => Collections.joinList(this, separator); |
| 3550 | 3553 |
| 3551 List mappedBy(f(Number element)) => new MappedList<Number, dynamic>(this, f); | 3554 List mappedBy(f(Number element)) => new MappedList<Number, dynamic>(this, f); |
| 3552 | 3555 |
| 3553 Iterable<Number> where(bool f(Number element)) => new WhereIterable<Number>(th
is, f); | 3556 Iterable<Number> where(bool f(Number element)) => new WhereIterable<Number>(th
is, f); |
| 3554 | 3557 |
| 3555 bool every(bool f(Number element)) => Collections.every(this, f); | 3558 bool every(bool f(Number element)) => Collections.every(this, f); |
| 3556 | 3559 |
| 3557 bool any(bool f(Number element)) => Collections.any(this, f); | 3560 bool any(bool f(Number element)) => Collections.any(this, f); |
| 3558 | 3561 |
| 3562 List<Number> toList() => new List<Number>.from(this); |
| 3563 Set<Number> toSet() => new Set<Number>.from(this); |
| 3564 |
| 3559 bool get isEmpty => this.length == 0; | 3565 bool get isEmpty => this.length == 0; |
| 3560 | 3566 |
| 3561 List<Number> take(int n) => new ListView<Number>(this, 0, n); | 3567 List<Number> take(int n) => new ListView<Number>(this, 0, n); |
| 3562 | 3568 |
| 3563 Iterable<Number> takeWhile(bool test(Number value)) { | 3569 Iterable<Number> takeWhile(bool test(Number value)) { |
| 3564 return new TakeWhileIterable<Number>(this, test); | 3570 return new TakeWhileIterable<Number>(this, test); |
| 3565 } | 3571 } |
| 3566 | 3572 |
| 3567 List<Number> skip(int n) => new ListView<Number>(this, n, null); | 3573 List<Number> skip(int n) => new ListView<Number>(this, n, null); |
| 3568 | 3574 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3628 if (this.length > 0) return this[this.length - 1]; | 3634 if (this.length > 0) return this[this.length - 1]; |
| 3629 throw new StateError("No elements"); | 3635 throw new StateError("No elements"); |
| 3630 } | 3636 } |
| 3631 | 3637 |
| 3632 Number get single { | 3638 Number get single { |
| 3633 if (length == 1) return this[0]; | 3639 if (length == 1) return this[0]; |
| 3634 if (length == 0) throw new StateError("No elements"); | 3640 if (length == 0) throw new StateError("No elements"); |
| 3635 throw new StateError("More than one element"); | 3641 throw new StateError("More than one element"); |
| 3636 } | 3642 } |
| 3637 | 3643 |
| 3638 Number min([int compare(Number a, Number b)]) => _Collections.minInList(this,
compare); | 3644 Number min([int compare(Number a, Number b)]) => Collections.min(this, compare
); |
| 3639 | 3645 |
| 3640 Number max([int compare(Number a, Number b)]) => _Collections.maxInList(this,
compare); | 3646 Number max([int compare(Number a, Number b)]) => Collections.max(this, compare
); |
| 3641 | 3647 |
| 3642 Number removeAt(int pos) { | 3648 Number removeAt(int pos) { |
| 3643 throw new UnsupportedError("Cannot removeAt on immutable List."); | 3649 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 3644 } | 3650 } |
| 3645 | 3651 |
| 3646 Number removeLast() { | 3652 Number removeLast() { |
| 3647 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3653 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 3648 } | 3654 } |
| 3649 | 3655 |
| 3650 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ | 3656 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4295 String join([String separator]) => Collections.joinList(this, separator); | 4301 String join([String separator]) => Collections.joinList(this, separator); |
| 4296 | 4302 |
| 4297 List mappedBy(f(PathSeg element)) => new MappedList<PathSeg, dynamic>(this, f)
; | 4303 List mappedBy(f(PathSeg element)) => new MappedList<PathSeg, dynamic>(this, f)
; |
| 4298 | 4304 |
| 4299 Iterable<PathSeg> where(bool f(PathSeg element)) => new WhereIterable<PathSeg>
(this, f); | 4305 Iterable<PathSeg> where(bool f(PathSeg element)) => new WhereIterable<PathSeg>
(this, f); |
| 4300 | 4306 |
| 4301 bool every(bool f(PathSeg element)) => Collections.every(this, f); | 4307 bool every(bool f(PathSeg element)) => Collections.every(this, f); |
| 4302 | 4308 |
| 4303 bool any(bool f(PathSeg element)) => Collections.any(this, f); | 4309 bool any(bool f(PathSeg element)) => Collections.any(this, f); |
| 4304 | 4310 |
| 4311 List<PathSeg> toList() => new List<PathSeg>.from(this); |
| 4312 Set<PathSeg> toSet() => new Set<PathSeg>.from(this); |
| 4313 |
| 4305 bool get isEmpty => this.length == 0; | 4314 bool get isEmpty => this.length == 0; |
| 4306 | 4315 |
| 4307 List<PathSeg> take(int n) => new ListView<PathSeg>(this, 0, n); | 4316 List<PathSeg> take(int n) => new ListView<PathSeg>(this, 0, n); |
| 4308 | 4317 |
| 4309 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { | 4318 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { |
| 4310 return new TakeWhileIterable<PathSeg>(this, test); | 4319 return new TakeWhileIterable<PathSeg>(this, test); |
| 4311 } | 4320 } |
| 4312 | 4321 |
| 4313 List<PathSeg> skip(int n) => new ListView<PathSeg>(this, n, null); | 4322 List<PathSeg> skip(int n) => new ListView<PathSeg>(this, n, null); |
| 4314 | 4323 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4374 if (this.length > 0) return this[this.length - 1]; | 4383 if (this.length > 0) return this[this.length - 1]; |
| 4375 throw new StateError("No elements"); | 4384 throw new StateError("No elements"); |
| 4376 } | 4385 } |
| 4377 | 4386 |
| 4378 PathSeg get single { | 4387 PathSeg get single { |
| 4379 if (length == 1) return this[0]; | 4388 if (length == 1) return this[0]; |
| 4380 if (length == 0) throw new StateError("No elements"); | 4389 if (length == 0) throw new StateError("No elements"); |
| 4381 throw new StateError("More than one element"); | 4390 throw new StateError("More than one element"); |
| 4382 } | 4391 } |
| 4383 | 4392 |
| 4384 PathSeg min([int compare(PathSeg a, PathSeg b)]) => _Collections.minInList(thi
s, compare); | 4393 PathSeg min([int compare(PathSeg a, PathSeg b)]) => Collections.min(this, comp
are); |
| 4385 | 4394 |
| 4386 PathSeg max([int compare(PathSeg a, PathSeg b)]) => _Collections.maxInList(thi
s, compare); | 4395 PathSeg max([int compare(PathSeg a, PathSeg b)]) => Collections.max(this, comp
are); |
| 4387 | 4396 |
| 4388 PathSeg removeAt(int pos) { | 4397 PathSeg removeAt(int pos) { |
| 4389 throw new UnsupportedError("Cannot removeAt on immutable List."); | 4398 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 4390 } | 4399 } |
| 4391 | 4400 |
| 4392 PathSeg removeLast() { | 4401 PathSeg removeLast() { |
| 4393 throw new UnsupportedError("Cannot removeLast on immutable List."); | 4402 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 4394 } | 4403 } |
| 4395 | 4404 |
| 4396 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ | 4405 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5066 String join([String separator]) => Collections.joinList(this, separator); | 5075 String join([String separator]) => Collections.joinList(this, separator); |
| 5067 | 5076 |
| 5068 List mappedBy(f(String element)) => new MappedList<String, dynamic>(this, f); | 5077 List mappedBy(f(String element)) => new MappedList<String, dynamic>(this, f); |
| 5069 | 5078 |
| 5070 Iterable<String> where(bool f(String element)) => new WhereIterable<String>(th
is, f); | 5079 Iterable<String> where(bool f(String element)) => new WhereIterable<String>(th
is, f); |
| 5071 | 5080 |
| 5072 bool every(bool f(String element)) => Collections.every(this, f); | 5081 bool every(bool f(String element)) => Collections.every(this, f); |
| 5073 | 5082 |
| 5074 bool any(bool f(String element)) => Collections.any(this, f); | 5083 bool any(bool f(String element)) => Collections.any(this, f); |
| 5075 | 5084 |
| 5085 List<String> toList() => new List<String>.from(this); |
| 5086 Set<String> toSet() => new Set<String>.from(this); |
| 5087 |
| 5076 bool get isEmpty => this.length == 0; | 5088 bool get isEmpty => this.length == 0; |
| 5077 | 5089 |
| 5078 List<String> take(int n) => new ListView<String>(this, 0, n); | 5090 List<String> take(int n) => new ListView<String>(this, 0, n); |
| 5079 | 5091 |
| 5080 Iterable<String> takeWhile(bool test(String value)) { | 5092 Iterable<String> takeWhile(bool test(String value)) { |
| 5081 return new TakeWhileIterable<String>(this, test); | 5093 return new TakeWhileIterable<String>(this, test); |
| 5082 } | 5094 } |
| 5083 | 5095 |
| 5084 List<String> skip(int n) => new ListView<String>(this, n, null); | 5096 List<String> skip(int n) => new ListView<String>(this, n, null); |
| 5085 | 5097 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5145 if (this.length > 0) return this[this.length - 1]; | 5157 if (this.length > 0) return this[this.length - 1]; |
| 5146 throw new StateError("No elements"); | 5158 throw new StateError("No elements"); |
| 5147 } | 5159 } |
| 5148 | 5160 |
| 5149 String get single { | 5161 String get single { |
| 5150 if (length == 1) return this[0]; | 5162 if (length == 1) return this[0]; |
| 5151 if (length == 0) throw new StateError("No elements"); | 5163 if (length == 0) throw new StateError("No elements"); |
| 5152 throw new StateError("More than one element"); | 5164 throw new StateError("More than one element"); |
| 5153 } | 5165 } |
| 5154 | 5166 |
| 5155 String min([int compare(String a, String b)]) => _Collections.minInList(this,
compare); | 5167 String min([int compare(String a, String b)]) => Collections.min(this, compare
); |
| 5156 | 5168 |
| 5157 String max([int compare(String a, String b)]) => _Collections.maxInList(this,
compare); | 5169 String max([int compare(String a, String b)]) => Collections.max(this, compare
); |
| 5158 | 5170 |
| 5159 String removeAt(int pos) { | 5171 String removeAt(int pos) { |
| 5160 throw new UnsupportedError("Cannot removeAt on immutable List."); | 5172 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 5161 } | 5173 } |
| 5162 | 5174 |
| 5163 String removeLast() { | 5175 String removeLast() { |
| 5164 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5176 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 5165 } | 5177 } |
| 5166 | 5178 |
| 5167 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ | 5179 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ |
| (...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6105 String join([String separator]) => Collections.joinList(this, separator); | 6117 String join([String separator]) => Collections.joinList(this, separator); |
| 6106 | 6118 |
| 6107 List mappedBy(f(Transform element)) => new MappedList<Transform, dynamic>(this
, f); | 6119 List mappedBy(f(Transform element)) => new MappedList<Transform, dynamic>(this
, f); |
| 6108 | 6120 |
| 6109 Iterable<Transform> where(bool f(Transform element)) => new WhereIterable<Tran
sform>(this, f); | 6121 Iterable<Transform> where(bool f(Transform element)) => new WhereIterable<Tran
sform>(this, f); |
| 6110 | 6122 |
| 6111 bool every(bool f(Transform element)) => Collections.every(this, f); | 6123 bool every(bool f(Transform element)) => Collections.every(this, f); |
| 6112 | 6124 |
| 6113 bool any(bool f(Transform element)) => Collections.any(this, f); | 6125 bool any(bool f(Transform element)) => Collections.any(this, f); |
| 6114 | 6126 |
| 6127 List<Transform> toList() => new List<Transform>.from(this); |
| 6128 Set<Transform> toSet() => new Set<Transform>.from(this); |
| 6129 |
| 6115 bool get isEmpty => this.length == 0; | 6130 bool get isEmpty => this.length == 0; |
| 6116 | 6131 |
| 6117 List<Transform> take(int n) => new ListView<Transform>(this, 0, n); | 6132 List<Transform> take(int n) => new ListView<Transform>(this, 0, n); |
| 6118 | 6133 |
| 6119 Iterable<Transform> takeWhile(bool test(Transform value)) { | 6134 Iterable<Transform> takeWhile(bool test(Transform value)) { |
| 6120 return new TakeWhileIterable<Transform>(this, test); | 6135 return new TakeWhileIterable<Transform>(this, test); |
| 6121 } | 6136 } |
| 6122 | 6137 |
| 6123 List<Transform> skip(int n) => new ListView<Transform>(this, n, null); | 6138 List<Transform> skip(int n) => new ListView<Transform>(this, n, null); |
| 6124 | 6139 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6184 if (this.length > 0) return this[this.length - 1]; | 6199 if (this.length > 0) return this[this.length - 1]; |
| 6185 throw new StateError("No elements"); | 6200 throw new StateError("No elements"); |
| 6186 } | 6201 } |
| 6187 | 6202 |
| 6188 Transform get single { | 6203 Transform get single { |
| 6189 if (length == 1) return this[0]; | 6204 if (length == 1) return this[0]; |
| 6190 if (length == 0) throw new StateError("No elements"); | 6205 if (length == 0) throw new StateError("No elements"); |
| 6191 throw new StateError("More than one element"); | 6206 throw new StateError("More than one element"); |
| 6192 } | 6207 } |
| 6193 | 6208 |
| 6194 Transform min([int compare(Transform a, Transform b)]) => _Collections.minInLi
st(this, compare); | 6209 Transform min([int compare(Transform a, Transform b)]) => Collections.min(this
, compare); |
| 6195 | 6210 |
| 6196 Transform max([int compare(Transform a, Transform b)]) => _Collections.maxInLi
st(this, compare); | 6211 Transform max([int compare(Transform a, Transform b)]) => Collections.max(this
, compare); |
| 6197 | 6212 |
| 6198 Transform removeAt(int pos) { | 6213 Transform removeAt(int pos) { |
| 6199 throw new UnsupportedError("Cannot removeAt on immutable List."); | 6214 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 6200 } | 6215 } |
| 6201 | 6216 |
| 6202 Transform removeLast() { | 6217 Transform removeLast() { |
| 6203 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6218 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 6204 } | 6219 } |
| 6205 | 6220 |
| 6206 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { | 6221 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6556 String join([String separator]) => Collections.joinList(this, separator); | 6571 String join([String separator]) => Collections.joinList(this, separator); |
| 6557 | 6572 |
| 6558 List mappedBy(f(ElementInstance element)) => new MappedList<ElementInstance, d
ynamic>(this, f); | 6573 List mappedBy(f(ElementInstance element)) => new MappedList<ElementInstance, d
ynamic>(this, f); |
| 6559 | 6574 |
| 6560 Iterable<ElementInstance> where(bool f(ElementInstance element)) => new WhereI
terable<ElementInstance>(this, f); | 6575 Iterable<ElementInstance> where(bool f(ElementInstance element)) => new WhereI
terable<ElementInstance>(this, f); |
| 6561 | 6576 |
| 6562 bool every(bool f(ElementInstance element)) => Collections.every(this, f); | 6577 bool every(bool f(ElementInstance element)) => Collections.every(this, f); |
| 6563 | 6578 |
| 6564 bool any(bool f(ElementInstance element)) => Collections.any(this, f); | 6579 bool any(bool f(ElementInstance element)) => Collections.any(this, f); |
| 6565 | 6580 |
| 6581 List<ElementInstance> toList() => new List<ElementInstance>.from(this); |
| 6582 Set<ElementInstance> toSet() => new Set<ElementInstance>.from(this); |
| 6583 |
| 6566 bool get isEmpty => this.length == 0; | 6584 bool get isEmpty => this.length == 0; |
| 6567 | 6585 |
| 6568 List<ElementInstance> take(int n) => new ListView<ElementInstance>(this, 0, n)
; | 6586 List<ElementInstance> take(int n) => new ListView<ElementInstance>(this, 0, n)
; |
| 6569 | 6587 |
| 6570 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { | 6588 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { |
| 6571 return new TakeWhileIterable<ElementInstance>(this, test); | 6589 return new TakeWhileIterable<ElementInstance>(this, test); |
| 6572 } | 6590 } |
| 6573 | 6591 |
| 6574 List<ElementInstance> skip(int n) => new ListView<ElementInstance>(this, n, nu
ll); | 6592 List<ElementInstance> skip(int n) => new ListView<ElementInstance>(this, n, nu
ll); |
| 6575 | 6593 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6637 if (this.length > 0) return this[this.length - 1]; | 6655 if (this.length > 0) return this[this.length - 1]; |
| 6638 throw new StateError("No elements"); | 6656 throw new StateError("No elements"); |
| 6639 } | 6657 } |
| 6640 | 6658 |
| 6641 ElementInstance get single { | 6659 ElementInstance get single { |
| 6642 if (length == 1) return this[0]; | 6660 if (length == 1) return this[0]; |
| 6643 if (length == 0) throw new StateError("No elements"); | 6661 if (length == 0) throw new StateError("No elements"); |
| 6644 throw new StateError("More than one element"); | 6662 throw new StateError("More than one element"); |
| 6645 } | 6663 } |
| 6646 | 6664 |
| 6647 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => _C
ollections.minInList(this, compare); | 6665 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => Co
llections.min(this, compare); |
| 6648 | 6666 |
| 6649 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => _C
ollections.maxInList(this, compare); | 6667 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => Co
llections.max(this, compare); |
| 6650 | 6668 |
| 6651 ElementInstance removeAt(int pos) { | 6669 ElementInstance removeAt(int pos) { |
| 6652 throw new UnsupportedError("Cannot removeAt on immutable List."); | 6670 throw new UnsupportedError("Cannot removeAt on immutable List."); |
| 6653 } | 6671 } |
| 6654 | 6672 |
| 6655 ElementInstance removeLast() { | 6673 ElementInstance removeLast() { |
| 6656 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6674 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 6657 } | 6675 } |
| 6658 | 6676 |
| 6659 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { | 6677 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { |
| 6660 throw new UnsupportedError("Cannot setRange on immutable List."); | 6678 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 6661 } | 6679 } |
| 6662 | 6680 |
| 6663 void removeRange(int start, int rangeLength) { | 6681 void removeRange(int start, int rangeLength) { |
| 6664 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6682 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 6665 } | 6683 } |
| 6666 | 6684 |
| 6667 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { | 6685 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { |
| 6668 throw new UnsupportedError("Cannot insertRange on immutable List."); | 6686 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 6669 } | 6687 } |
| 6670 | 6688 |
| 6671 List<ElementInstance> getRange(int start, int rangeLength) => | 6689 List<ElementInstance> getRange(int start, int rangeLength) => |
| 6672 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6690 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 6673 | 6691 |
| 6674 // -- end List<ElementInstance> mixins. | 6692 // -- end List<ElementInstance> mixins. |
| 6675 | 6693 |
| 6676 /// @domName SVGElementInstanceList.item; @docsEditable true | 6694 /// @domName SVGElementInstanceList.item; @docsEditable true |
| 6677 ElementInstance item(int index) native; | 6695 ElementInstance item(int index) native; |
| 6678 } | 6696 } |
| OLD | NEW |