public class NativeUint16Array extends NativeTypedArrayView<java.lang.Integer>
ScriptableObject.KeyComparatorlength, MAX_PROTOTYPE_IDarrayBuffer, byteLength, offsetCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeUint16Array() |
NativeUint16Array(int len) |
NativeUint16Array(NativeArrayBuffer ab,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
protected NativeUint16Array |
construct(NativeArrayBuffer ab,
int off,
int len) |
java.lang.Integer |
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) |
protected java.lang.Object |
js_get(int index) |
protected java.lang.Object |
js_set(int index,
java.lang.Object c) |
protected NativeUint16Array |
realThis(Scriptable thisObj,
IdFunctionObject f) |
java.lang.Integer |
set(int i,
java.lang.Integer aByte) |
add, add, addAll, addAll, checkIndex, clear, contains, containsAll, delete, equals, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, findPrototypeId, get, getArrayElement, getArrayLength, getIds, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, has, hashCode, indexOf, initPrototypeId, isEmpty, iterator, lastIndexOf, listIterator, listIterator, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArraygetBuffer, getByteLength, getByteOffset, isArg, useLittleEndianactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, ensureType, exportAsJSClass, findInstanceIdInfo, get, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes, setInstanceIdAttributes, setInstanceIdValueapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototypepublic NativeUint16Array()
public NativeUint16Array(NativeArrayBuffer ab, int off, int len)
public NativeUint16Array(int len)
public java.lang.String getClassName()
ScriptableObjectThis is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.
getClassName in interface ScriptablegetClassName in class ScriptableObjectpublic static void init(Context cx, Scriptable scope, boolean sealed)
protected NativeUint16Array construct(NativeArrayBuffer ab, int off, int len)
construct in class NativeTypedArrayView<java.lang.Integer>public int getBytesPerElement()
NativeTypedArrayViewgetBytesPerElement in class NativeTypedArrayView<java.lang.Integer>protected NativeUint16Array realThis(Scriptable thisObj, IdFunctionObject f)
realThis in class NativeTypedArrayView<java.lang.Integer>protected java.lang.Object js_get(int index)
js_get in class NativeTypedArrayView<java.lang.Integer>protected java.lang.Object js_set(int index,
java.lang.Object c)
js_set in class NativeTypedArrayView<java.lang.Integer>public java.lang.Integer get(int i)
public java.lang.Integer set(int i,
java.lang.Integer aByte)