Référence FOM > Application > Arrays > fIntArray interface
fIntArray interface
A collection of integer values.
length attribute
Returns the number of elements in this array.
length
Access
read-only
Returns
unsigned int
item method
Return the item stored at the given index.
item index
Parameters
unsigned int index
The index of the item to be returned.
Returns
int. The item stored at the given index.
namedItem method
Return the value with the given name.
namedItem name
Parameters
String name
The name of the desired item.
Returns
int. The value stored under the given name.
readResolve method
Return the object corresponding to the given serialized representation.
readResolve obj
Parameters
Object obj
The serialized representation.
Returns
fIntArray. The object corresponding to the serialized representation.
setItem method
Set the item stored at the given index.
setItem index value
Parameters
unsigned int index
The index of the item to be set.
int value
The value to be stored at the given index.
Returns
void. This method does not have a return value.
setNamedItem method
Set the item stored under the given name.
setNamedItem name value
Parameters
String name
The name of the item to be set.
int value
The value to be stored under the given name.
Returns
void. This method does not have a return value.
Est-ce que cela a été utile ?