Class JavaImpl
java.lang.Object
com.google.gwt.typedarrays.shared.TypedArrays.Impl
com.google.gwt.typedarrays.server.JavaImpl
Pure Java implementation class for typed arrays.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateArrayBuffer
(int length) createDataView
(ArrayBuffer buffer, int byteOffset, int byteLength) createFloat32Array
(float[] array) createFloat32Array
(ArrayBuffer buffer, int byteOffset, int length) createFloat64Array
(ArrayBuffer buffer, int byteOffset, int length) createInt16Array
(ArrayBuffer buffer, int byteOffset, int length) createInt32Array
(ArrayBuffer buffer, int byteOffset, int length) createInt8Array
(ArrayBuffer buffer, int byteOffset, int length) createUint16Array
(ArrayBuffer buffer, int byteOffset, int length) createUint32Array
(ArrayBuffer buffer, int byteOffset, int length) createUint8Array
(ArrayBuffer buffer, int byteOffset, int length) createUint8ClampedArray
(ArrayBuffer buffer, int byteOffset, int length) protected boolean
Check if the current environment actually does support typed arrays (including emulation).Methods inherited from class com.google.gwt.typedarrays.shared.TypedArrays.Impl
createDataView, createDataView, createFloat32Array, createFloat32Array, createFloat32Array, createFloat64Array, createFloat64Array, createFloat64Array, createFloat64Array, createInt16Array, createInt16Array, createInt16Array, createInt16Array, createInt32Array, createInt32Array, createInt32Array, createInt32Array, createInt8Array, createInt8Array, createInt8Array, createInt8Array, createUint16Array, createUint16Array, createUint16Array, createUint16Array, createUint32Array, createUint32Array, createUint32Array, createUint32Array, createUint32Array, createUint8Array, createUint8Array, createUint8Array, createUint8Array, createUint8ClampedArray, createUint8ClampedArray, createUint8ClampedArray, createUint8ClampedArray, getElementCount, mightBeSupported
-
Constructor Details
-
JavaImpl
public JavaImpl()
-
-
Method Details
-
createArrayBuffer
- Specified by:
createArrayBuffer
in classTypedArrays.Impl
-
createFloat32Array
- Overrides:
createFloat32Array
in classTypedArrays.Impl
-
runtimeSupportCheck
protected boolean runtimeSupportCheck()Description copied from class:TypedArrays.Impl
Check if the current environment actually does support typed arrays (including emulation). There is no partial support, so if true is returned, there must be acceptable implementations for all of thecreateXXX
methods.- Overrides:
runtimeSupportCheck
in classTypedArrays.Impl
- Returns:
- true if the current environment actually does support typed arrays
-