:: com :: sun :: star :: reflection ::
|
interface XIdlArray |
|
- Description
- Reflects an IDL sequence and provides dynamic access to instances of
that sequence.
This interface supports widening conversion when getting or setting elements.
@attention
Although the name of this interface denotes arrays,
sequences are meant. Don't be obfuscated, arrays are not supported by UNO!
|
Methods' Summary |
realloc |
Rellocates the length of the sequence instance.
|
getLen |
Returns the length of the given sequence.
|
get |
Returns element at given index.
|
set |
Sets a new value at given index.
|
Methods' Details |
realloc
- Description
- Rellocates the length of the sequence instance.
- Parameter array
- sequence instance
@length
new length of sequence
|
|
getLen
- Description
- Returns the length of the given sequence.
- Parameter array
- sequence instance
- Returns
- length of sequence
|
|
get
- Description
- Returns element at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Returns
- value
- Throws
- IllegalArgumentException
if the specified object is not a sequence 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 sequence.
|
|
set
- Description
- Sets a new value at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Parameter aNewValue
- new value to be set
- Throws
- IllegalArgumentException
if the specified object is not a sequence 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 sequence.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.