public class JsArrayDoubleImpl
extends com.google.gwt.core.client.JsArrayNumber
JsArrayNumber
Modifier | Constructor and Description |
---|---|
protected |
JsArrayDoubleImpl()
Needed for GWT injection
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all of the elements from this object.
|
int |
indexOf(double value)
Returns the index of the first occurrence of the specified element in this object, or -1 if this object does not contain the element.
|
void |
insertAt(int index,
double value)
Inserts the specified element at the specified position in this object.
|
int |
lastIndexOf(double value)
Returns the index of the last occurrence of the specified element in this object, or -1 if this object does not contain the element.
|
double |
remove(int index)
Removes the element at the specified position in this object.
|
java.lang.String |
toJSON()
Returns a JSON representation of this object.
|
get, join, join, length, push, set, setLength, shift, unshift
public final int lastIndexOf(double value)
value
- element to search forpublic final int indexOf(double value)
value
- element to search forpublic final void clear()
public final double remove(int index)
index
- the index of the element to be removedpublic final void insertAt(int index, double value)
index
- index at which the specified element is to be insertedvalue
- element to be insertedpublic final java.lang.String toJSON()