W3cubDocs

/OpenJDK 8 Web

Interface DynSequence

All Superinterfaces:
DynAny, Object

Deprecated.

Use the new DynSequence instead

@Deprecated
public interface DynSequence
extends Object, DynAny

The representation of a DynAny object that is associated with an IDL sequence.

Methods

length

int length()

Deprecated.

Returns the length of the sequence represented by this DynFixed object.

Returns:
the length of the sequence

length

void length(int arg)

Deprecated.

Sets the length of the sequence represented by this DynFixed object to the given argument.

Parameters:
arg - the length of the sequence

get_elements

Any[] get_elements()

Deprecated.

Returns the value of every element in this sequence.

Returns:
an array of Any objects containing the values in the sequence
See Also:
set_elements(org.omg.CORBA.Any[])

set_elements

void set_elements(Any[] value)
           throws InvalidSeq

Deprecated.

Sets the values of all elements in this sequence with the given array.

Parameters:
value - the array of Any objects to be set
Throws:
InvalidSeq - if the array of values is bad
See Also:
get_elements()

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.