OLD | NEW |
1 | 1 |
2 class Float64ArrayJs extends ArrayBufferViewJs implements Float64Array, List<num
> native "*Float64Array" { | 2 class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n
um> native "*Float64Array" { |
3 | 3 |
4 factory Float64Array(int length) => _construct_Float64Array(length); | 4 factory Float64Array(int length) => _construct_Float64Array(length); |
5 | 5 |
6 factory Float64Array.fromList(List<num> list) => _construct_Float64Array(list)
; | 6 factory Float64Array.fromList(List<num> list) => _construct_Float64Array(list)
; |
7 | 7 |
8 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct_Float64Array
(buffer); | 8 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct_Float64Array
(buffer); |
9 | 9 |
10 static _construct_Float64Array(arg) native 'return new Float64Array(arg);'; | 10 static _construct_Float64Array(arg) native 'return new Float64Array(arg);'; |
11 | 11 |
12 static final int BYTES_PER_ELEMENT = 8; | 12 static final int BYTES_PER_ELEMENT = 8; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 void insertRange(int start, int length, [num initialValue]) { | 79 void insertRange(int start, int length, [num initialValue]) { |
80 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 80 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
81 } | 81 } |
82 List<num> getRange(int start, int length) => | 82 List<num> getRange(int start, int length) => |
83 _Lists.getRange(this, start, length, <num>[]); | 83 _Lists.getRange(this, start, length, <num>[]); |
84 | 84 |
85 // -- end List<num> mixins. | 85 // -- end List<num> mixins. |
86 | 86 |
87 void setElements(Object array, [int offset = null]) native; | 87 void setElements(Object array, [int offset = null]) native; |
88 | 88 |
89 Float64ArrayJs subarray(int start, [int end = null]) native; | 89 _Float64ArrayJs subarray(int start, [int end = null]) native; |
90 } | 90 } |
OLD | NEW |