public class JsInt32Array extends JsArrayBufferView implements Int32Array, IndexableInt
BYTES_PER_ELEMENT
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsInt32Array() |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
The number of entries in the array.
|
void |
setElements(Object array) |
void |
setElements(Object array,
int offset) |
JsInt32Array |
subarray(int start)
|
JsInt32Array |
subarray(int start,
int end)
|
getBuffer, getByteLength, getByteOffset
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBuffer, getByteLength, getByteOffset
intAt, length
numberAt
public final int getLength()
Int32Array
getLength
in interface Int32Array
public final void setElements(Object array)
setElements
in interface Int32Array
public final void setElements(Object array, int offset)
setElements
in interface Int32Array
public final JsInt32Array subarray(int start)
Int32Array
Returns a new Int32Array
view on the ArrayBuffer
store for this Int32Array
object.
begin
Int32Array
object.end
Optional
Int32Array
object; if not specified, all elements from the one specified by begin
to the end of the array are included in the new view.The range specified by begin
and end
is clamped to the valid index range for the current array; if the computed length of the new array would be negative, it's clamped to zero. If either begin
or end
is negative, it refers to an index from the end of the array instead of from the beginning.
subarray
in interface Int32Array
public final JsInt32Array subarray(int start, int end)
Int32Array
Returns a new Int32Array
view on the ArrayBuffer
store for this Int32Array
object.
begin
Int32Array
object.end
Optional
Int32Array
object; if not specified, all elements from the one specified by begin
to the end of the array are included in the new view.The range specified by begin
and end
is clamped to the valid index range for the current array; if the computed length of the new array would be negative, it's clamped to zero. If either begin
or end
is negative, it refers to an index from the end of the array instead of from the beginning.
subarray
in interface Int32Array
Copyright © 2018. All rights reserved.