|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common interface for all types representing arrays.
Method Summary | |
void |
fromArgumentsArray(Argument[] arguments)
Sets array contents to the given values. |
Argument |
getElement(int index)
Returns an array item specified by an index. |
int |
getElementsCount()
Returns the number of elements in the array. |
void |
setElement(int index,
Argument element)
Replaces an array item with the specified object. |
void |
setElementsCount(int newCount)
Resizes this array to a given size. |
Argument[] |
toArgumentsArray()
Returns items as Java array. |
Method Detail |
public Argument getElement(int index)
index
- index of a requested array item
Argument
itempublic void setElement(int index, Argument element)
index
- index of an item to be replacedelement
- object to be set as array itempublic int getElementsCount()
public void setElementsCount(int newCount)
newCount
- new array sizepublic Argument[] toArgumentsArray()
Argument[]
public void fromArgumentsArray(Argument[] arguments)
arguments
- Argument[]
array ot the new values
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |