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.
|
|
| 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.
|
|
| AbstractNativeSequence (Class elementType, long nativeSequencePtr, int initialMaximum) |
|
final void | destroy () |
|
abstract Object | get (int index) |
|
abstract Object | set (int index, Object element) |
|
void | add (int index, Object element) |
| Inserts the specified element at the specified position in this sequence.
|
|
boolean | add (Object element) |
| Appends the specified element to the end of this sequence.
|
|
final Object | remove (int index) |
| Remove the element at the given index by shifting all subsequent elements "left" by one.
|
|
int | getMaximum () |
| Get the current maximum number of elements that can be stored in this sequence.
|
|
void | setMaximum (int new_max) |
| Resize this sequence to a new desired maximum.
|
|
Class | getElementType () |
|
Additional Inherited Members |
long | getNativeSequence () |
|
abstract void | destroyNativeSequence (long nativeSequence) |
|
Detailed Description
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.Condition >
- Instantiates:
- <<generic>> com.rti.dds.infrastructure.com.rti.dds.util.Sequence
- See Also
- com.rti.dds.infrastructure.WaitSet
-
com.rti.dds.infrastructure.com.rti.dds.util.Sequence
Constructor & Destructor Documentation
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.
- Parameters
-
conditions | The initial contents of the sequence |
- Exceptions
-
NullPointerException | if the given collection is null |
Create a empty Condition Sequence with a initial maximum of zero.
Create a Condition Sequence with the specified initial maximum.
- Parameters
-
initial_maximum | The initial maximum of the sequence. |