Class NativeInt16Array

    • Constructor Detail

      • NativeInt16Array

        public NativeInt16Array()
      • NativeInt16Array

        public NativeInt16Array​(NativeArrayBuffer ab,
                                int off,
                                int len)
      • NativeInt16Array

        public NativeInt16Array​(int len)
    • Method Detail

      • getClassName

        public java.lang.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
      • 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<java.lang.Short>
      • get

        public java.lang.Short get​(int i)
      • set

        public java.lang.Short set​(int i,
                                   java.lang.Short aByte)