Class TypedArray.TypedBigIntArray

Direct Known Subclasses:
TypedArray.BigInt64Array, TypedArray.BigUint64Array, TypedArray.DirectBigInt64Array, TypedArray.DirectBigUint64Array, TypedArray.InteropBigIntArray
Enclosing class:
TypedArray

public abstract static class TypedArray.TypedBigIntArray extends TypedArray
  • Constructor Details

    • TypedBigIntArray

      protected TypedBigIntArray(TypedArrayFactory factory, boolean offset, boolean fixedLength, byte bufferType)
  • Method Details

    • getElement

      public Object getElement(JSDynamicObject object, long index)
      Specified by:
      getElement in class ScriptArray
    • getElementInBounds

      public Object getElementInBounds(JSDynamicObject object, long index)
      Specified by:
      getElementInBounds in class ScriptArray
    • setElementImpl

      public TypedArray.TypedBigIntArray setElementImpl(JSDynamicObject object, long index, Object value, boolean strict)
      Specified by:
      setElementImpl in class ScriptArray
    • getBigInt

      public final BigInt getBigInt(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
    • setBigInt

      public final void setBigInt(JSDynamicObject object, int index, BigInt value, com.oracle.truffle.api.interop.InteropLibrary interop)
    • getBigIntImpl

      public BigInt getBigIntImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
    • getLong

      public final long getLong(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
    • setLong

      public final void setLong(JSDynamicObject object, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop)
    • getLongImpl

      public abstract long getLongImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop)
    • setLongImpl

      public abstract void setLongImpl(JSArrayBufferObject buffer, int offset, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop)
    • getBufferElement

      public Object getBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop)
      Specified by:
      getBufferElement in class TypedArray
    • getBufferElementLongImpl

      public abstract long getBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop)
    • setBufferElement

      public final void setBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, Object value, com.oracle.truffle.api.interop.InteropLibrary interop)
      Specified by:
      setBufferElement in class TypedArray
    • setBufferElementLongImpl

      public abstract void setBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, long value, com.oracle.truffle.api.interop.InteropLibrary interop)
    • compareExchangeLong

      public long compareExchangeLong(JSTypedArrayObject typedArray, int index, long expectedValue, long newValue)
    • compareExchangeBigInt

      public BigInt compareExchangeBigInt(JSTypedArrayObject typedArray, int index, BigInt expectedValue, BigInt newValue)