public class NativeInt8Array extends NativeTypedArrayView<java.lang.Byte>
ScriptableObject.KeyComparator
length, MAX_PROTOTYPE_ID
arrayBuffer, byteLength, offset
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
NativeInt8Array() |
NativeInt8Array(int len) |
NativeInt8Array(NativeArrayBuffer ab,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
protected NativeInt8Array |
construct(NativeArrayBuffer ab,
int off,
int len) |
java.lang.Byte |
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 NativeInt8Array |
realThis(Scriptable thisObj,
IdFunctionObject f) |
java.lang.Byte |
set(int i,
java.lang.Byte 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, toArray
getBuffer, getByteLength, getByteOffset, isArg, useLittleEndian
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, exportAsJSClass, findInstanceIdInfo, get, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes, setInstanceIdAttributes, setInstanceIdValue
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, 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, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype
public NativeInt8Array()
public NativeInt8Array(NativeArrayBuffer ab, int off, int len)
public NativeInt8Array(int len)
public java.lang.String getClassName()
ScriptableObject
getClassName
in interface Scriptable
getClassName
in class ScriptableObject
public static void init(Context cx, Scriptable scope, boolean sealed)
protected NativeInt8Array construct(NativeArrayBuffer ab, int off, int len)
construct
in class NativeTypedArrayView<java.lang.Byte>
public int getBytesPerElement()
NativeTypedArrayView
getBytesPerElement
in class NativeTypedArrayView<java.lang.Byte>
protected NativeInt8Array realThis(Scriptable thisObj, IdFunctionObject f)
realThis
in class NativeTypedArrayView<java.lang.Byte>
protected java.lang.Object js_get(int index)
js_get
in class NativeTypedArrayView<java.lang.Byte>
protected java.lang.Object js_set(int index, java.lang.Object c)
js_set
in class NativeTypedArrayView<java.lang.Byte>
public java.lang.Byte get(int i)
public java.lang.Byte set(int i, java.lang.Byte aByte)