Package org.teavm.jso.typedarrays
Class Int16Array
java.lang.Object
org.teavm.jso.typedarrays.ArrayBufferView
org.teavm.jso.typedarrays.TypedArray
org.teavm.jso.typedarrays.Int16Array
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Constructor Summary
ConstructorsConstructorDescriptionInt16Array(int length) Int16Array(ArrayBuffer buffer) Int16Array(ArrayBuffer buffer, int offset) Int16Array(ArrayBuffer buffer, int offset, int length) Int16Array(TypedArray buffer) -
Method Summary
Modifier and TypeMethodDescriptionstatic Int16ArraycopyFromJavaArray(short[] array) short[]static Int16Arraycreate(int length) Deprecated.static Int16Arraycreate(ArrayBuffer buffer) Deprecated.static Int16Arraycreate(ArrayBuffer buffer, int offset) Deprecated.static Int16Arraycreate(ArrayBuffer buffer, int offset, int length) Deprecated.static Int16Arraycreate(TypedArray buffer) Deprecated.static Int16ArrayfromJavaArray(short[] array) static Int16ArrayfromJavaBuffer(Buffer buffer) shortget(int index) voidset(int index, short value) short[]Methods inherited from class org.teavm.jso.typedarrays.ArrayBufferView
getBuffer, getByteLength, getByteOffset, getLength, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.jso.JSObject
cast
-
Constructor Details
-
Int16Array
public Int16Array(int length) -
Int16Array
-
Int16Array
-
Int16Array
-
Int16Array
-
-
Method Details
-
get
public short get(int index) -
set
public void set(int index, short value) -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
fromJavaArray
-
fromJavaBuffer
-
copyFromJavaArray
-
copyToJavaArray
public short[] copyToJavaArray() -
toJavaArray
public short[] toJavaArray()
-