com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.KeyedString > .
More...
Public Member Functions | |
KeyedStringSeq () | |
Constructs an empty sequence of com.rti.dds.type.builtin.KeyedString objects with an initial maximum of zero. | |
KeyedStringSeq (int initialMaximum) | |
Constructs an empty sequence of com.rti.dds.type.builtin.KeyedString objects with the given initial maximum. | |
KeyedStringSeq (Collection elements) | |
Constructs a new sequence containing the given com.rti.dds.type.builtin.KeyedString objects. | |
Object | copy_from (Object src) |
Package Attributes | |
transient Sequence | _loanedInfoSequence = null |
com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.KeyedString > .
KeyedStringSeq | ( | ) |
Constructs an empty sequence of com.rti.dds.type.builtin.KeyedString objects with an initial maximum of zero.
KeyedStringSeq | ( | int | initialMaximum | ) |
Constructs an empty sequence of com.rti.dds.type.builtin.KeyedString objects with the given initial maximum.
KeyedStringSeq | ( | Collection | elements | ) |
Constructs a new sequence containing the given com.rti.dds.type.builtin.KeyedString objects.
elements | the initial contents of this sequence. |
NullPointerException | if the input collection is null |
Object copy_from | ( | Object | src | ) |
Copy data into this
object from another. The result of this method is that both this
and src
will be the same size and contain the same data.
src | The Object which contains the data to be copied |
this
NullPointerException | If src is null. | |
ClassCastException | If src is not a Sequence OR if one of the objects contained in the Sequence is not of the expected type. |
Implements Copyable.
transient Sequence _loanedInfoSequence = null [package] |
When a memory loan has been taken out in the lower layers of NDDS, store a pointer to the native sequence here. That way, when we call finish(), we can give the memory back.