Class ArrayPrototypeBuiltins.JSArrayOperation

  • Field Details

  • Constructor Details

    • JSArrayOperation

      public JSArrayOperation(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation)
    • JSArrayOperation

      public JSArrayOperation(JSContext context, JSBuiltin builtin)
  • Method Details

    • setLength

      protected void setLength(Object thisObject, int length)
    • setLength

      protected void setLength(Object thisObject, long length)
    • read

      protected Object read(Object target, int index)
    • read

      protected Object read(Object target, long index)
    • write

      protected void write(Object target, int index, Object value)
    • write

      protected void write(Object target, long index, Object value)
    • writeOwn

      protected void writeOwn(Object target, int index, Object value)
    • writeOwn

      protected void writeOwn(Object target, long index, Object value)
    • hasProperty

      protected boolean hasProperty(Object target, long propertyIdx)
    • nextElementIndex

      protected long nextElementIndex(Object target, long currentIndex, long length)
    • previousElementIndex

      protected long previousElementIndex(Object target, long currentIndex)
    • throwLengthError

      protected static final void throwLengthError()
    • createEmpty

      protected final JSObject createEmpty(Object thisObj, long length)
    • typedArrayCreateSameType

      protected final JSTypedArrayObject typedArrayCreateSameType(JSTypedArrayObject thisObj, long length)
    • arrayCreate

      protected JSArrayObject arrayCreate(long length)