Difference between revisions of "Documentation/DevGuide/ProUNO/Java/Mapping of Sequence Types"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Professional UNO) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|NextPage=Documentation/DevGuide/ProUNO/Java/Mapping of Enum Types | |NextPage=Documentation/DevGuide/ProUNO/Java/Mapping of Enum Types | ||
}} | }} | ||
+ | {{Documentation/DevGuideLanguages|Documentation/DevGuide/ProUNO/Java/{{SUBPAGENAME}}}} | ||
{{DISPLAYTITLE:Mapping of Sequence Types}} | {{DISPLAYTITLE:Mapping of Sequence Types}} | ||
A UNO sequence type with a given component type is mapped to the Java array type with corresponding component type. | A UNO sequence type with a given component type is mapped to the Java array type with corresponding component type. | ||
Line 17: | Line 18: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Professional UNO]] |
Latest revision as of 08:05, 13 May 2009
A UNO sequence type with a given component type is mapped to the Java array type with corresponding component type.
- UNO
sequence<long>
is mapped to Javaint[]
. - UNO
sequence< sequence<long> >
is mapped to Javaint[][]
.
Only non-null references to those Java array types are valid. As usual, non-null references to other Java array types that are assignment compatible to a given array type can also be used, but doing so can cause java.lang.ArrayStoreExceptions
. In Java, the maximal length of an array is limited; therefore, it is an error if a UNO sequence that is too long is used in the context of the Java language binding.
Content on this page is licensed under the Public Documentation License (PDL). |