RTI Connext Java API
Version 6.1.0
|
Abstract sequence. More...
Public Member Functions | |
void | setMaximum (int new_max) |
Resize this sequence to a new desired maximum. More... | |
Class | getElementType () |
void | add (int index, Object element) |
Inserts the specified element at the specified position in this sequence. More... | |
boolean | add (Object element) |
Appends the specified element to the end of this sequence. More... | |
final Object | remove (int index) |
Remove the element at the given index by shifting all subsequent elements "left" by one. More... | |
![]() | |
int | getMaximum () |
Get the current maximum number of elements that can be stored in this sequence. More... | |
Abstract sequence.
void setMaximum | ( | int | new_max | ) |
Resize this sequence to a new desired maximum.
This operation does nothing if the new desired maximum matches the current maximum.
Note: If you add an element with add()
, the sequence's size is increased implicitly.
new_max | Must be >= 0. |
Implements Sequence.
References Sequence.getMaximum().
Referenced by AbstractPrimitiveSequence.copy_from(), and DynamicData.to_cdr_buffer().
Class getElementType | ( | ) |
Implements Sequence.
void add | ( | int | index, |
Object | element | ||
) |
Inserts the specified element at the specified position in this sequence.
Referenced by FooSeq.copy_from(), BytesSeq.copy_from(), KeyedBytesSeq.copy_from(), and KeyedStringSeq.copy_from().
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.
References Sequence.getMaximum().
Referenced by Locator_t.Locator_t().