public abstract static class TypedArray.TypedBigIntArray 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.ElementType, TypedArray.Float32Array, TypedArray.Float64Array, TypedArray.Int16Array, TypedArray.Int32Array, TypedArray.Int8Array, TypedArray.InteropBigInt64Array, TypedArray.InteropBigIntArray, TypedArray.InteropBigUint64Array, TypedArray.InteropFloat32Array, TypedArray.InteropFloat64Array, TypedArray.InteropInt16Array, TypedArray.InteropInt32Array, TypedArray.InteropInt8Array, TypedArray.InteropOneByteIntArray, TypedArray.InteropTwoByteIntArray, TypedArray.InteropUint16Array, TypedArray.InteropUint32Array, TypedArray.InteropUint8Array, TypedArray.InteropUint8ClampedArray, TypedArray.TypedBigIntArray, TypedArray.TypedFloatArray, TypedArray.TypedIntArray, TypedArray.Uint16Array, TypedArray.Uint32Array, TypedArray.Uint8Array, TypedArray.Uint8ClampedArrayScriptArray.CreateWritableProfileAccess, ScriptArray.DefaultIterator, ScriptArray.SetLengthProfileAccessBUFFER_TYPE_ARRAY, BUFFER_TYPE_DIRECT, BUFFER_TYPE_INTEROPEMPTY_OBJECT_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
TypedBigIntArray(TypedArrayFactory factory,
boolean offset,
byte bufferType) |
| Modifier and Type | Method and Description |
|---|---|
BigInt |
compareExchangeBigInt(JSTypedArrayObject typedArray,
int index,
BigInt expectedValue,
BigInt newValue) |
long |
compareExchangeLong(JSTypedArrayObject typedArray,
int index,
long expectedValue,
long newValue) |
BigInt |
getBigInt(JSDynamicObject object,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop) |
BigInt |
getBigIntImpl(JSArrayBufferObject buffer,
int offset,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop) |
Object |
getBufferElement(JSArrayBufferObject buffer,
int index,
boolean littleEndian,
com.oracle.truffle.api.interop.InteropLibrary interop) |
abstract long |
getBufferElementLongImpl(JSArrayBufferObject buffer,
int index,
boolean littleEndian,
com.oracle.truffle.api.interop.InteropLibrary interop) |
Object |
getElement(JSDynamicObject object,
long index) |
Object |
getElementInBounds(JSDynamicObject object,
long index) |
abstract long |
getLongImpl(JSArrayBufferObject buffer,
int offset,
int index,
com.oracle.truffle.api.interop.InteropLibrary interop) |
void |
setBigInt(JSDynamicObject object,
int index,
BigInt value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
void |
setBufferElement(JSArrayBufferObject buffer,
int index,
boolean littleEndian,
Object value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
abstract void |
setBufferElementLongImpl(JSArrayBufferObject buffer,
int index,
boolean littleEndian,
long value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
TypedArray.TypedBigIntArray |
setElementImpl(JSDynamicObject object,
long index,
Object value,
boolean strict) |
abstract void |
setLongImpl(JSArrayBufferObject buffer,
int offset,
int index,
long value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
addRangeImpl, bytesPerElement, deleteElementImpl, factories, factories, firstElementIndex, freeze, getBufferFromTypedArray, getByteArray, getDirectByteBuffer, getElementType, getFactory, getName, getOffset, hasElement, hasHoles, hasOffset, isDirect, isFrozen, isHolesType, isInterop, isLengthNotWritable, isSealed, lastElementIndex, length, lengthInt, nextElementIndex, preventExtensions, previousElementIndex, removeRangeImpl, seal, setLengthImpl, setLengthNotWritable, unsupportedBufferAccessaddRange, asIterable, canDeleteElement, cast, createConstantArray, createConstantEmptyArray, deleteElement, isExtensible, isInBoundsFast, isInstance, makeMultiRangeList, makeRangeList, nextPower, ownPropertyKeys, ownPropertyKeysContiguous, ownPropertyKeysHoles, removeRange, removeRange, setElement, setLength, setLength, shiftRange, shiftRangeImpl, toArray, toString, traceArrayTransition, traceWrite, valueIsByteprotected TypedBigIntArray(TypedArrayFactory factory, boolean offset, byte bufferType)
public Object getElement(JSDynamicObject object, long index)
getElement in class ScriptArraypublic Object getElementInBounds(JSDynamicObject object, long index)
getElementInBounds in class ScriptArraypublic TypedArray.TypedBigIntArray setElementImpl(JSDynamicObject object, long index, Object value, boolean strict)
setElementImpl in class ScriptArraypublic final BigInt getBigInt(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
public final void setBigInt(JSDynamicObject object, int index, BigInt value, com.oracle.truffle.api.interop.InteropLibrary interop)
public BigInt getBigIntImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
public abstract long getLongImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
public abstract void setLongImpl(JSArrayBufferObject buffer, int offset, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop)
public Object getBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop)
getBufferElement in class TypedArraypublic abstract long getBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop)
public final void setBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, Object value, com.oracle.truffle.api.interop.InteropLibrary interop)
setBufferElement in class TypedArraypublic abstract void setBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, long value, com.oracle.truffle.api.interop.InteropLibrary interop)
public long compareExchangeLong(JSTypedArrayObject typedArray, int index, long expectedValue, long newValue)
public BigInt compareExchangeBigInt(JSTypedArrayObject typedArray, int index, BigInt expectedValue, BigInt newValue)