RTI Connext Java API
Version 6.1.0
|
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.Condition >
More...
Inherits AbstractNativeSequence.
Public Member Functions | |
ConditionSeq (Collection conditions) | |
Create a Condition Sequence with the given contents. The size and the maximum of the new sequence will match the size of the given collection. More... | |
ConditionSeq () | |
Create a empty Condition Sequence with a initial maximum of zero. More... | |
ConditionSeq (int initial_maximum) | |
Create a Condition Sequence with the specified initial maximum. More... | |
int | getMaximum () |
Get the current maximum number of elements that can be stored in this sequence. More... | |
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.Condition >
ConditionSeq | ( | Collection | conditions | ) |
Create a Condition Sequence with the given contents. The size and the maximum of the new sequence will match the size of the given collection.
conditions | The initial contents of the sequence |
NullPointerException | if the given collection is null |
ConditionSeq | ( | ) |
Create a empty Condition Sequence with a initial maximum of zero.
ConditionSeq | ( | int | initial_maximum | ) |
Create a Condition Sequence with the specified initial maximum.
initial_maximum | The initial maximum of the sequence. |
int getMaximum | ( | ) |
Get the current maximum number of elements that can be stored in this sequence.
The maximum
of the sequence represents the maximum number of elements that the underlying buffer can hold. It does not represent the current number of elements.
The maximum
is a non-negative number. It is initialized when the sequence is first created.
The maximum
can be changed implicitly by adding an element to the sequence with add()
, or explicitly by calling com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.setMaximum.
Implements Sequence.