|
|||||||||||
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 |
forceElementCount(int elementCount)
Sets new array size without memory reallocation. |
void |
fromParameterArray(Parameter[] params)
Sets array content to the given values. |
Parameter |
getElement(int i)
Returns array item specified by an index. |
int |
getElementCount()
Returns the number of elements in the array. |
void |
setElement(int i,
Parameter elem)
Replaces array item with the specified object. |
void |
setElementCount(int elementCount)
Resizes this array to a given size. |
Parameter[] |
toParameterArray()
Returns items as Java array. |
Method Detail |
public Parameter getElement(int i)
i
- index of requested array itempublic void setElement(int i, Parameter elem)
i
- index of an item to be replacedelem
- object to be set as array itempublic int getElementCount()
public void setElementCount(int elementCount)
public Parameter[] toParameterArray()
public void fromParameterArray(Parameter[] params)
public void forceElementCount(int elementCount)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |