|
Syntax
- void realloc
(
- any array,
- long length )
- raises ( com::sun::star::lang::IllegalArgumentException );
Description
Change the size of the array to the new size.
If the new length is greater, the additional
elements are default constructed, otherwise
the elements are destructed.
Syntax
- long getLen
(
- any array )
- raises ( com::sun::star::lang::IllegalArgumentException );
Description
-
Returns
-
the number of elements in the array.
Syntax
- any get
(
- any aArray,
- long nIndex )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::lang::ArrayIndexOutOfBoundsException );
Description
-
Returns
-
the value of the indexed component in the specified array object.
Throws
- IllegalArgumentException
if the specified object is not an array or if the
specified object is NULL
.
Throws
- ArrayIndexOutOfBoundsException
if the specified index argument is negative,
or if it is greater than or equal to the
length of the specified array.
Syntax
- void set
(
- any aArray,
- long nIndex,
- any aNewValue )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::lang::ArrayIndexOutOfBoundsException );
Description
sets the value of the indexed component of the specified array object
to the specified new value.
|