com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.Bytes > .
More...
Public Member Functions | |
BytesSeq () | |
Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with an initial maximum of zero. | |
BytesSeq (int initialMaximum) | |
Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with the given initial maximum. | |
BytesSeq (Collection elements) | |
Constructs a new sequence containing the given com.rti.dds.type.builtin.Bytes objects. | |
Object | copy_from (Object src) |
Package Attributes | |
transient Sequence | _loanedInfoSequence = null |
com.rti.dds.util.Sequence
< com.rti.dds.type.builtin.Bytes > .
BytesSeq | ( | ) |
Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with an initial maximum of zero.
BytesSeq | ( | int | initialMaximum | ) |
Constructs an empty sequence of com.rti.dds.type.builtin.Bytes objects with the given initial maximum.
BytesSeq | ( | Collection | elements | ) |
Constructs a new sequence containing the given com.rti.dds.type.builtin.Bytes 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.