站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Interface DynArray - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

org.omg.CORBA
Interface DynArray


public interface DynArray
extends Object, DynAny

The DynArray interface represents a DynAny object which is associated with an array.


Method Summary
 Any[] get_elements()
          Return the value of all the elements of the array.
 void set_elements(Any[] value)
          Set the values of all elements of an array represented by this DynArray.
 
Methods inherited from interface org.omg.CORBA.DynAny
assign, copy, current_component, destroy, from_any, get_any, get_boolean, get_char, get_double, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

Method Detail

get_elements

public Any[] get_elements()
Return the value of all the elements of the array.
Returns:
an array of Anys.

set_elements

public void set_elements(Any[] value)
                  throws InvalidSeq
Set the values of all elements of an array represented by this DynArray.
Parameters:
value - the array of Anys.
Throws:
InvalidSeq - if the sequence is bad.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.