public abstract static class TypedArray.TypedFloatArray extends TypedArray
TypedArray.AbstractUint32Array, TypedArray.AbstractUint8ClampedArray, TypedArray.BigInt64Array, TypedArray.BigUint64Array, TypedArray.DirectBigInt64Array, TypedArray.DirectBigUint64Array, TypedArray.DirectFloat32Array, TypedArray.DirectFloat64Array, TypedArray.DirectInt16Array, TypedArray.DirectInt32Array, TypedArray.DirectInt8Array, TypedArray.DirectUint16Array, TypedArray.DirectUint32Array, TypedArray.DirectUint8Array, TypedArray.DirectUint8ClampedArray, TypedArray.Float32Array, TypedArray.Float64Array, TypedArray.Int16Array, TypedArray.Int32Array, TypedArray.Int8Array, TypedArray.InteropBigInt64Array, TypedArray.InteropBigUint64Array, TypedArray.InteropFloat32Array, TypedArray.InteropFloat64Array, TypedArray.InteropInt16Array, TypedArray.InteropInt32Array, TypedArray.InteropInt8Array, TypedArray.InteropUint16Array, TypedArray.InteropUint32Array, TypedArray.InteropUint8Array, TypedArray.InteropUint8ClampedArray, TypedArray.TypedBigIntArray, TypedArray.TypedFloatArray, TypedArray.TypedIntArray, TypedArray.Uint16Array, TypedArray.Uint32Array, TypedArray.Uint8Array, TypedArray.Uint8ClampedArrayScriptArray.DefaultIterator, ScriptArray.ProfileAccess, ScriptArray.ProfileHolder, ScriptArray.SetLengthProfileAccessBUFFER_TYPE_ARRAY, BUFFER_TYPE_DIRECT, BUFFER_TYPE_INTEROPEMPTY_OBJECT_ARRAY, SET_LENGTH_PROFILE| Modifier | Constructor and Description |
|---|---|
protected |
TypedFloatArray(TypedArrayFactory factory,
boolean offset,
byte bufferType) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(com.oracle.truffle.api.object.DynamicObject object,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop) |
abstract double |
getDoubleImpl(Object buffer,
int offset,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop) |
Object |
getElement(com.oracle.truffle.api.object.DynamicObject object,
long index) |
Object |
getElementInBounds(com.oracle.truffle.api.object.DynamicObject object,
long index) |
void |
setDouble(com.oracle.truffle.api.object.DynamicObject object,
int index,
double value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
abstract void |
setDoubleImpl(Object buffer,
int offset,
int index,
double value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
TypedArray.TypedFloatArray |
setElementImpl(com.oracle.truffle.api.object.DynamicObject object,
long index,
Object value,
boolean strict) |
addRangeImpl, bytesPerElement, deleteElementImpl, factories, factories, firstElementIndex, freeze, getBufferElement, getBufferFromTypedArray, getByteArray, getDirectByteBuffer, getFactory, getName, getOffset, hasElement, hasHoles, hasOffset, isDirect, isFrozen, isHolesType, isInterop, isLengthNotWritable, isSealed, lastElementIndex, length, lengthInt, nextElementIndex, preventExtensions, previousElementIndex, removeRangeImpl, seal, setBufferElement, setLengthImpl, setLengthNotWritable, toArray, unsupportedBufferAccessaddRange, asIterable, canDeleteElement, cast, createConstantArray, createConstantEmptyArray, createSetLengthProfile, deleteElement, isExtensible, isInBoundsFast, isInstance, makeMultiRangeList, makeRangeList, nextPower, ownPropertyKeys, ownPropertyKeysContiguous, ownPropertyKeysHoles, removeRange, removeRange, setElement, setLength, setLength, toString, traceArrayTransition, traceWrite, valueIsByteprotected TypedFloatArray(TypedArrayFactory factory, boolean offset, byte bufferType)
public final Object getElement(com.oracle.truffle.api.object.DynamicObject object, long index)
getElement in class ScriptArraypublic Object getElementInBounds(com.oracle.truffle.api.object.DynamicObject object, long index)
getElementInBounds in class ScriptArraypublic final TypedArray.TypedFloatArray setElementImpl(com.oracle.truffle.api.object.DynamicObject object, long index, Object value, boolean strict)
setElementImpl in class ScriptArraypublic final double getDouble(com.oracle.truffle.api.object.DynamicObject object,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop)
public final void setDouble(com.oracle.truffle.api.object.DynamicObject object,
int index,
double value,
com.oracle.truffle.api.interop.InteropLibrary interop)
public abstract double getDoubleImpl(Object buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
public abstract void setDoubleImpl(Object buffer, int offset, int index, double value, com.oracle.truffle.api.interop.InteropLibrary interop)