public class NativeInt16Array extends NativeTypedArrayView<Short>
ScriptableObject.KeyComparatorlength, MAX_PROTOTYPE_IDarrayBuffer, byteLength, offsetCONST, 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 |
|---|---|
protected NativeInt16Array |
construct(NativeArrayBuffer ab,
int off,
int len) |
Short |
get(int i) |
int |
getBytesPerElement()
Return the number of bytes represented by each element in the array.
|
String |
getClassName()
Return the name of the class.
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
protected Object |
js_get(int index) |
protected Object |
js_set(int index,
Object c) |
protected NativeInt16Array |
realThis(Scriptable thisObj,
IdFunctionObject f) |
Short |
set(int i,
Short aByte) |
add, add, addAll, addAll, checkIndex, clear, contains, containsAll, delete, delete, equals, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, findPrototypeId, get, get, getArrayElement, getArrayLength, getIds, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, has, has, hashCode, indexOf, initPrototypeId, isEmpty, iterator, lastIndexOf, listIterator, listIterator, put, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArraygetBuffer, getByteLength, getByteOffset, isArg, useLittleEndianactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, ensureType, exportAsJSClass, findInstanceIdInfo, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, 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, defineProperty, deleteProperty, 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, setPrototypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic NativeInt16Array()
public NativeInt16Array(NativeArrayBuffer ab, int off, int len)
public NativeInt16Array(int len)
public 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 NativeInt16Array construct(NativeArrayBuffer ab, int off, int len)
construct in class NativeTypedArrayView<Short>public int getBytesPerElement()
NativeTypedArrayViewgetBytesPerElement in class NativeTypedArrayView<Short>protected NativeInt16Array realThis(Scriptable thisObj, IdFunctionObject f)
realThis in class NativeTypedArrayView<Short>protected Object js_get(int index)
js_get in class NativeTypedArrayView<Short>protected Object js_set(int index, Object c)
js_set in class NativeTypedArrayView<Short>public Short get(int i)
Copyright © 2023 HtmlUnit. All rights reserved.