public class JSFloat64Array extends JSTypedArray<java.lang.Double>
JSPropertyAttributeDontDelete, JSPropertyAttributeDontEnum, JSPropertyAttributeNone, JSPropertyAttributeReadOnly| Constructor and Description |
|---|
JSFloat64Array(JSArrayBuffer buffer)
Creates a typed array from a JSArrayBuffer
|
JSFloat64Array(JSArrayBuffer buffer,
int byteOffset)
Creates a typed array from a JSArrayBuffer
|
JSFloat64Array(JSArrayBuffer buffer,
int byteOffset,
int length)
Creates a typed array from a JSArrayBuffer
|
JSFloat64Array(JSContext ctx,
int length)
Creates a typed array of length 'length' in JSContext 'context'
|
JSFloat64Array(JSContext ctx,
java.lang.Object object)
Creates new typed array as if by TypedArray.from()
|
JSFloat64Array(JSTypedArray tarr)
Creates a new JSFloat64Array from the contents of another typed array
|
JSFloat64Array(long valueRef,
JSContext ctx)
Treats an existing value as a typed array
|
| Modifier and Type | Method and Description |
|---|---|
JSFloat64Array |
subarray(int begin)
JavaScript: TypedArray.prototype.subarray(), see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray
|
JSFloat64Array |
subarray(int begin,
int end)
JavaScript: TypedArray.prototype.subarray(), see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray
|
JSFloat64Array |
subList(int fromIndex,
int toIndex) |
add, buffer, byteLength, byteOffset, from, isTypedArrayadd, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, toArray, toArray, toArrayapply, call, call, newInstance, prototype, prototype__nullFunc, callAsFunction, callAsFunction, callAsFunction, callAsFunction, deleteProperty, getThis, hasProperty, isConstructor, isFunction, property, property, property, propertyAtIndex, propertyAtIndex, propertyNamesgetContext, isArray, isBoolean, isDate, isEqual, isInstanceOfConstructor, isNull, isNumber, isObject, isStrictEqual, isString, isUndefined, toBoolean, toFunction, toJSArray, toJSON, toJSON, toNumber, toObject, toString, valueRefpublic JSFloat64Array(JSContext ctx, int length)
ctx - the JSContext in which to create the typed arraylength - the length of the array in elementspublic JSFloat64Array(JSTypedArray tarr)
tarr - the typed array from which to create the new arraypublic JSFloat64Array(JSContext ctx, java.lang.Object object)
ctx - The context in which to create the typed arrayobject - The object to create the array frompublic JSFloat64Array(JSArrayBuffer buffer, int byteOffset, int length)
buffer - The JSArrayBuffer to create the typed array frombyteOffset - The byte offset in the ArrayBuffer to start fromlength - The number of bytes from 'byteOffset' to include in the arraypublic JSFloat64Array(JSArrayBuffer buffer, int byteOffset)
buffer - The JSArrayBuffer to create the typed array frombyteOffset - The byte offset in the ArrayBuffer to start frompublic JSFloat64Array(JSArrayBuffer buffer)
buffer - The JSArrayBuffer to create the typed array frompublic JSFloat64Array(long valueRef,
JSContext ctx)
valueRef - the JavaScriptCore value referencectx - The JSContext of the valuepublic JSFloat64Array subarray(int begin, int end)
begin - the element to begin at (inclusive)end - the element to end at (exclusive)public JSFloat64Array subarray(int begin)
begin - the element to begin at (inclusive)@NonNull public JSFloat64Array subList(int fromIndex, int toIndex)
List.subList(int, int)