|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArrayReference
Abstract representation of an array.
ObjectReference
,
Value
Method Summary | |
---|---|
Value |
getValue(int index)
Returns the Value at the given index in this array. |
List |
getValues()
Returns the live list of Value s in the array or an empty list. |
int |
length()
Returns the current number of Value s in this array. |
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.ObjectReference |
---|
className, constructor, id, properties, prototype |
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Value |
---|
valueString |
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Mirror |
---|
virtualMachine |
Method Detail |
---|
int length()
Value
s in this array.
Value
s in the arrayValue getValue(int index) throws IndexOutOfBoundsException
Value
at the given index in this array. If the bounds are outside of the
array bounds an ArrayIndexOutOfBoundsException
is thrown. If there is a null
entry
in the array NullValue
is returned.null
index
- the index of the Value
to retrieve
Value
at the given index
IndexOutOfBoundsException
- if the index is outside the bounds of this array.
For example if index < 0
or index > length()
List getValues()
Value
s in the array or an empty list.null
Value
s in this array or an empty list, never null
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |