Class NativeUint32Array

All Implemented Interfaces:
Serializable, Iterable<Long>, Collection<Long>, List<Long>, RandomAccess, SequencedCollection<Long>, ConstProperties, DebuggableObject, ExternalArrayData, IdFunctionCall, Scriptable

public class NativeUint32Array extends NativeTypedArrayView<Long>
An array view that stores 32-bit quantities and implements the JavaScript "Uint32Array" interface. It also implements List for direct manipulation in Java.
See Also:
  • Constructor Details

    • NativeUint32Array

      public NativeUint32Array()
    • NativeUint32Array

      public NativeUint32Array(NativeArrayBuffer ab, int off, int len)
    • NativeUint32Array

      public NativeUint32Array(int len)
  • Method Details

    • getClassName

      public String getClassName()
      Description copied from class: ScriptableObject
      Return the name of the class. This is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.
      Specified by:
      getClassName in interface Scriptable
      Specified by:
      getClassName in class ScriptableObject
    • init

      public static void init(Context cx, Scriptable scope, boolean sealed)
    • getBytesPerElement

      public int getBytesPerElement()
      Description copied from class: NativeTypedArrayView
      Return the number of bytes represented by each element in the array. This can be useful when wishing to manipulate the byte array directly from Java.
      Specified by:
      getBytesPerElement in class NativeTypedArrayView<Long>
    • get

      public Long get(int i)
    • set

      public Long set(int i, Long aByte)