public class TypedArray extends ArrayBufferView implements JsIterable<java.lang.Double>, JsArrayLike<java.lang.Double>
Modifier and Type | Class and Description |
---|---|
static interface |
TypedArray.EveryCallbackFn |
static interface |
TypedArray.FilterCallbackFn |
static interface |
TypedArray.FindCallbackFn |
static interface |
TypedArray.FindIndexCallbackFn |
static interface |
TypedArray.ForEachCallbackFn |
static interface |
TypedArray.MapCallbackFn |
static interface |
TypedArray.ReduceCallbackFn<INIT,RET> |
static interface |
TypedArray.ReduceRightCallbackFn<INIT,RET> |
static interface |
TypedArray.SetArrayUnionType |
static interface |
TypedArray.SomeCallbackFn |
static interface |
TypedArray.SortCompareFunctionFn |
Modifier and Type | Field and Description |
---|---|
double |
BYTES_PER_ELEMENT |
int |
length |
buffer, byteLength, byteOffset
Constructor and Description |
---|
TypedArray() |
Modifier and Type | Method and Description |
---|---|
<THIS> THIS |
copyWithin(int target,
int start) |
<THIS> THIS |
copyWithin(int target,
int start,
int end) |
JsIteratorIterable<double[]> |
entries() |
boolean |
every(TypedArray.EveryCallbackFn callback) |
<S> boolean |
every(TypedArray.EveryCallbackFn callback,
S thisArg) |
<THIS> THIS |
fill(double value) |
<THIS> THIS |
fill(double value,
int begin) |
<THIS> THIS |
fill(double value,
int begin,
int end) |
<THIS> THIS |
filter(TypedArray.FilterCallbackFn callback) |
<THIS,S> THIS |
filter(TypedArray.FilterCallbackFn callback,
S thisArg) |
double |
find(TypedArray.FindCallbackFn callback) |
<S> double |
find(TypedArray.FindCallbackFn callback,
S thisArg) |
int |
findIndex(TypedArray.FindIndexCallbackFn callback) |
<S> int |
findIndex(TypedArray.FindIndexCallbackFn callback,
S thisArg) |
void |
forEach(TypedArray.ForEachCallbackFn callback) |
<S> void |
forEach(TypedArray.ForEachCallbackFn callback,
S thisArg) |
boolean |
includes(double searchElement) |
boolean |
includes(double searchElement,
int fromIndex) |
int |
indexOf(double searchElement) |
int |
indexOf(double searchElement,
int fromIndex) |
java.lang.String |
join() |
java.lang.String |
join(java.lang.String separator) |
JsIteratorIterable<java.lang.Double> |
keys() |
int |
lastIndexOf(double searchElement) |
int |
lastIndexOf(double searchElement,
int fromIndex) |
<THIS> THIS |
map(TypedArray.MapCallbackFn callback) |
<THIS,S> THIS |
map(TypedArray.MapCallbackFn callback,
S thisArg) |
<INIT,RET> RET |
reduce(TypedArray.ReduceCallbackFn<? super INIT,RET> callback) |
<INIT,RET> RET |
reduce(TypedArray.ReduceCallbackFn<? super INIT,RET> callback,
INIT initialValue) |
<INIT,RET> RET |
reduceRight(TypedArray.ReduceRightCallbackFn<? super INIT,RET> callback) |
<INIT,RET> RET |
reduceRight(TypedArray.ReduceRightCallbackFn<? super INIT,RET> callback,
INIT initialValue) |
<THIS> THIS |
reverse() |
void |
set(ArrayBufferView array) |
void |
set(ArrayBufferView array,
int offset) |
void |
set(double[] array) |
void |
set(double[] array,
int offset) |
void |
set(TypedArray.SetArrayUnionType array) |
void |
set(TypedArray.SetArrayUnionType array,
int offset) |
<THIS> THIS |
slice() |
<THIS> THIS |
slice(int begin) |
<THIS> THIS |
slice(int begin,
int end) |
boolean |
some(TypedArray.SomeCallbackFn callback) |
<S> boolean |
some(TypedArray.SomeCallbackFn callback,
S thisArg) |
<THIS> THIS |
sort() |
<THIS> THIS |
sort(TypedArray.SortCompareFunctionFn compareFunction) |
<THIS> THIS |
subarray(int begin) |
<THIS> THIS |
subarray(int begin,
int end) |
java.lang.String |
toLocaleString() |
java.lang.String |
toString_() |
JsIteratorIterable<java.lang.Double> |
values() |
public <THIS> THIS copyWithin(int target, int start, int end)
public <THIS> THIS copyWithin(int target, int start)
public JsIteratorIterable<double[]> entries()
public <S> boolean every(TypedArray.EveryCallbackFn callback, S thisArg)
public boolean every(TypedArray.EveryCallbackFn callback)
public <THIS> THIS fill(double value, int begin, int end)
public <THIS> THIS fill(double value, int begin)
public <THIS> THIS fill(double value)
public <THIS,S> THIS filter(TypedArray.FilterCallbackFn callback, S thisArg)
public <THIS> THIS filter(TypedArray.FilterCallbackFn callback)
public <S> double find(TypedArray.FindCallbackFn callback, S thisArg)
public double find(TypedArray.FindCallbackFn callback)
public <S> int findIndex(TypedArray.FindIndexCallbackFn callback, S thisArg)
public int findIndex(TypedArray.FindIndexCallbackFn callback)
public <S> void forEach(TypedArray.ForEachCallbackFn callback, S thisArg)
public void forEach(TypedArray.ForEachCallbackFn callback)
public boolean includes(double searchElement, int fromIndex)
public boolean includes(double searchElement)
public int indexOf(double searchElement, int fromIndex)
public int indexOf(double searchElement)
public java.lang.String join()
public java.lang.String join(java.lang.String separator)
public JsIteratorIterable<java.lang.Double> keys()
public int lastIndexOf(double searchElement, int fromIndex)
public int lastIndexOf(double searchElement)
public <THIS,S> THIS map(TypedArray.MapCallbackFn callback, S thisArg)
public <THIS> THIS map(TypedArray.MapCallbackFn callback)
public <INIT,RET> RET reduce(TypedArray.ReduceCallbackFn<? super INIT,RET> callback, INIT initialValue)
public <INIT,RET> RET reduce(TypedArray.ReduceCallbackFn<? super INIT,RET> callback)
public <INIT,RET> RET reduceRight(TypedArray.ReduceRightCallbackFn<? super INIT,RET> callback, INIT initialValue)
public <INIT,RET> RET reduceRight(TypedArray.ReduceRightCallbackFn<? super INIT,RET> callback)
public <THIS> THIS reverse()
public final void set(ArrayBufferView array, int offset)
public final void set(ArrayBufferView array)
public void set(TypedArray.SetArrayUnionType array, int offset)
public void set(TypedArray.SetArrayUnionType array)
public final void set(double[] array, int offset)
public final void set(double[] array)
public <THIS> THIS slice()
public <THIS> THIS slice(int begin, int end)
public <THIS> THIS slice(int begin)
public <S> boolean some(TypedArray.SomeCallbackFn callback, S thisArg)
public boolean some(TypedArray.SomeCallbackFn callback)
public <THIS> THIS sort()
public <THIS> THIS sort(TypedArray.SortCompareFunctionFn compareFunction)
public <THIS> THIS subarray(int begin, int end)
public <THIS> THIS subarray(int begin)
public java.lang.String toLocaleString()
public java.lang.String toString_()
public JsIteratorIterable<java.lang.Double> values()