OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 class _Float64ArrayWrappingImplementation extends _ArrayBufferViewWrappingImplem
entation implements Float64Array { | 7 class _Float64ArrayWrappingImplementation extends _ArrayBufferViewWrappingImplem
entation implements Float64Array { |
8 _Float64ArrayWrappingImplementation() : super() {} | 8 _Float64ArrayWrappingImplementation() : super() {} |
9 | 9 |
10 static create__Float64ArrayWrappingImplementation() native { | 10 static create__Float64ArrayWrappingImplementation() native { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 100 } |
101 | 101 |
102 bool isEmpty() { | 102 bool isEmpty() { |
103 return length == 0; | 103 return length == 0; |
104 } | 104 } |
105 | 105 |
106 Iterator<num> iterator() { | 106 Iterator<num> iterator() { |
107 return new _FixedSizeListIterator<num>(this); | 107 return new _FixedSizeListIterator<num>(this); |
108 } | 108 } |
109 | 109 |
| 110 void setElements(Object array, [int offset = null]) { |
| 111 if (offset === null) { |
| 112 _setElements(this, array); |
| 113 return; |
| 114 } else { |
| 115 _setElements_2(this, array, offset); |
| 116 return; |
| 117 } |
| 118 } |
| 119 static void _setElements(receiver, array) native; |
| 120 static void _setElements_2(receiver, array, offset) native; |
| 121 |
110 Float64Array subarray(int start, [int end = null]) { | 122 Float64Array subarray(int start, [int end = null]) { |
111 if (end === null) { | 123 if (end === null) { |
112 return _subarray(this, start); | 124 return _subarray(this, start); |
113 } else { | 125 } else { |
114 return _subarray_2(this, start, end); | 126 return _subarray_2(this, start, end); |
115 } | 127 } |
116 } | 128 } |
117 static Float64Array _subarray(receiver, start) native; | 129 static Float64Array _subarray(receiver, start) native; |
118 static Float64Array _subarray_2(receiver, start, end) native; | 130 static Float64Array _subarray_2(receiver, start, end) native; |
119 | 131 |
120 String get typeName() { return "Float64Array"; } | 132 String get typeName() { return "Float64Array"; } |
121 } | 133 } |
OLD | NEW |