@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Float64Array")
public class Float64Array
extends JsObject
implements TypedArray, JsIterable<Float64Array.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
Float64Array.Entry |
static interface |
Float64Array.ForEachCallback |
static interface |
Float64Array.ForEachCallback2 |
static interface |
Float64Array.ForEachCallback3 |
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTES_PER_ELEMENT
The BYTES_PER_ELEMENT property represents the size in bytes of each element in an typed array.
|
static java.lang.String |
name
The name property represents a string value of the typed array constructor name.
|
| Constructor and Description |
|---|
Float64Array(ArrayBuffer buffer)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(ArrayBuffer buffer,
int byteOffset)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(ArrayBuffer buffer,
int byteOffset,
int length)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(double[] array)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(Float64Array array)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(int length)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
Float64Array(JsArray<java.lang.Double> array)
The Float64Array() typed array constructor creates a new Float64Array object, which is, an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayBuffer |
buffer()
The buffer accessor property represents the ArrayBuffer referenced by a TypedArray at construction time.
|
int |
byteLength()
The byteLength accessor property represents the length (in bytes) of the typed array.
|
int |
byteOffset()
The byteOffset accessor property represents the offset (in bytes) of a typed array from the start of its ArrayBuffer.
|
@JsNonNull Float64Array |
copyWithin(int target,
int start)
The copyWithin() method shallow copies part of an array to another location in the same array and returns it without modifying its length.
|
@JsNonNull Float64Array |
copyWithin(int target,
int start,
int end)
The copyWithin() method shallow copies part of an array to another location in the same array and returns it without modifying its length.
|
@JsNonNull JsIterator<Float64Array.Entry> |
entries()
The entries() method returns a new Array iterator object that contains the key/value pairs for each index in the array.
|
@JsNonNull Float64Array |
fill(double value)
The fill() method fills all the elements of a typed array from a start index to an end index with a static value.
|
@JsNonNull Float64Array |
fill(double value,
int start)
The fill() method fills all the elements of a typed array from a start index to an end index with a static value.
|
@JsNonNull Float64Array |
fill(double value,
int start,
int end)
The fill() method fills all the elements of a typed array from a start index to an end index with a static value.
|
void |
forEach(@JsNonNull Float64Array.ForEachCallback callback)
The forEach() method executes a provided function once per array element.
|
void |
forEach(@JsNonNull Float64Array.ForEachCallback2 callback)
The forEach() method executes a provided function once per array element.
|
void |
forEach(@JsNonNull Float64Array.ForEachCallback3 callback)
The forEach() method executes a provided function once per array element.
|
double |
getAt(int index) |
boolean |
includes(double searchElement)
The includes() method determines whether a typed array includes a certain element, returning true or false as appropriate.
|
boolean |
includes(double searchElement,
int fromIndex)
The includes() method determines whether a typed array includes a certain element, returning true or false as appropriate.
|
int |
indexOf(double searchElement)
The indexOf() method returns the first index at which a given element can be found in the typed array, or -1 if it is not present.
|
int |
indexOf(double searchElement,
int fromIndex)
The indexOf() method returns the first index at which a given element can be found in the typed array, or -1 if it is not present.
|
@JsNonNull java.lang.String |
join()
The join() method joins all elements of an array into a string.
|
@JsNonNull java.lang.String |
join(java.lang.String separator)
The join() method joins all elements of an array into a string.
|
@JsNonNull JsIterator<java.lang.Double> |
keys()
The keys() method returns a new array iterator object that contains the keys for each index in the array.
|
int |
lastIndexOf(double searchElement)
The lastIndexOf() method returns the last index at which a given element can be found in the typed array, or -1 if it is not present.
|
int |
lastIndexOf(double searchElement,
int fromIndex)
The lastIndexOf() method returns the last index at which a given element can be found in the typed array, or -1 if it is not present.
|
int |
length()
The length accessor property represents the length (in elements) of a typed array.
|
static @JsNonNull Float64Array |
of(double... element)
The TypedArray.of() method creates a new typed array from a variable number of arguments.
|
void |
set(double[] array)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
set(double[] array,
int offset)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
set(Float64Array array)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
set(Float64Array array,
int offset)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
set(JsArray<java.lang.Double> array)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
set(JsArray<java.lang.Double> array,
int offset)
The set() method stores multiple values in the typed array, reading input values from a specified array.
|
void |
setAt(int index,
double value) |
@JsNonNull Float64Array |
subarray(int start,
int end)
The subarray() method returns a new TypedArray on the same ArrayBuffer store and with the same element types as for this TypedArray object.
|
@JsNonNull java.lang.String |
toString_()
The toString() method returns a string representing the specified array and its elements.
|
@JsNonNull JsIterator<java.lang.Double> |
values()
The values() method returns a new array iterator object that contains the values for each index in the array.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, valueOf_, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator@JsOverlay public static final int BYTES_PER_ELEMENT
@JsOverlay public static final java.lang.String name
public Float64Array(int length)
public Float64Array(@Nonnull
Float64Array array)
public Float64Array(@Nonnull
JsArray<java.lang.Double> array)
public Float64Array(@Nonnull
double[] array)
public Float64Array(@Nonnull
ArrayBuffer buffer,
int byteOffset,
int length)
public Float64Array(@Nonnull
ArrayBuffer buffer,
int byteOffset)
public Float64Array(@Nonnull
ArrayBuffer buffer)
@JsProperty(name="buffer") @Nonnull public ArrayBuffer buffer()
buffer in interface ArrayBufferView@JsProperty(name="byteLength") public int byteLength()
byteLength in interface ArrayBufferView@JsProperty(name="byteOffset") public int byteOffset()
byteOffset in interface ArrayBufferView@JsProperty(name="length") public int length()
public static @JsNonNull Float64Array of(double... element)
public @JsNonNull Float64Array copyWithin(int target, int start, int end)
public @JsNonNull Float64Array copyWithin(int target, int start)
@JsOverlay public final double getAt(int index)
@JsOverlay
public final void setAt(int index,
double value)
public void set(@Nonnull
Float64Array array,
int offset)
public void set(@Nonnull
Float64Array array)
public void set(@Nonnull
JsArray<java.lang.Double> array,
int offset)
public void set(@Nonnull
double[] array,
int offset)
public void set(@Nonnull
JsArray<java.lang.Double> array)
public void set(@Nonnull
double[] array)
public @JsNonNull Float64Array subarray(int start, int end)
public @JsNonNull Float64Array fill(double value, int start, int end)
public @JsNonNull Float64Array fill(double value, int start)
public @JsNonNull Float64Array fill(double value)
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 int lastIndexOf(double searchElement,
int fromIndex)
public int lastIndexOf(double searchElement)
public @JsNonNull java.lang.String join(@Nonnull
java.lang.String separator)
public @JsNonNull java.lang.String join()
@JsMethod(name="toString") public @JsNonNull java.lang.String toString_()
toString_ in class JsObjectpublic @JsNonNull JsIterator<java.lang.Double> keys()
public @JsNonNull JsIterator<java.lang.Double> values()
public @JsNonNull JsIterator<Float64Array.Entry> entries()
public void forEach(@JsNonNull Float64Array.ForEachCallback callback)
public void forEach(@JsNonNull Float64Array.ForEachCallback2 callback)
public void forEach(@JsNonNull Float64Array.ForEachCallback3 callback)