public class NativeInt16Array extends NativeTypedArrayView<java.lang.Short>
ScriptableObject.KeyComparatorCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeInt16Array() |
NativeInt16Array(int len) |
NativeInt16Array(NativeArrayBuffer ab,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Short |
get(int i) |
int |
getBytesPerElement()
Return the number of bytes represented by each element in the array.
|
java.lang.String |
getClassName()
Return the name of the class.
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
java.lang.Short |
set(int i,
java.lang.Short aByte) |
add, add, addAll, addAll, clear, contains, containsAll, delete, equals, execIdCall, get, getArrayElement, getArrayLength, getIds, has, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArraygetBuffer, getByteLength, getByteOffsetactivatePrototypeMap, defineOwnProperty, delete, delete, exportAsJSClass, get, get, getAttributes, getAttributes, has, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, put, put, setAttributesassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, hasProperty, isConst, isExtensible, isSealed, preventExtensions, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototypepublic NativeInt16Array()
public NativeInt16Array(NativeArrayBuffer ab, int off, int len)
public NativeInt16Array(int len)
public java.lang.String getClassName()
ScriptableObjectgetClassName in interface ScriptablegetClassName in class ScriptableObjectpublic static void init(Context cx, Scriptable scope, boolean sealed)
public int getBytesPerElement()
NativeTypedArrayViewgetBytesPerElement in class NativeTypedArrayView<java.lang.Short>public java.lang.Short get(int i)
public java.lang.Short set(int i,
java.lang.Short aByte)
Copyright © 2010 - 2023 Adobe. All Rights Reserved