Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: 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 © 2013, 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.