public interface ArrayParameter
Modifier and Type | Method and Description |
---|---|
void |
forceElementCount(int elementCount)
Sets a new array size without memory reallocation.
|
void |
fromParameterArray(Parameter[] params)
Sets array contents to the given values.
|
Parameter |
getElement(int i)
Returns an array item specified by an index.
|
int |
getElementCount()
Returns the number of elements in the array.
|
void |
setElement(int i,
Parameter elem)
Replaces an array item with the specified object.
|
void |
setElementCount(int elementCount)
Resizes this array to a given size.
|
Parameter[] |
toParameterArray()
Returns items as Java array.
|
Parameter getElement(int i)
i
- index of a requested array itemvoid setElement(int i, Parameter elem)
i
- index of an item to be replacedelem
- object to be set as array itemint getElementCount()
void setElementCount(int elementCount)
Parameter[] toParameterArray()
void fromParameterArray(Parameter[] params)
void forceElementCount(int elementCount)