RTI Connext Java API Version 7.2.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... | |
void | setMaximum (int new_max) |
Resize this sequence to a new desired maximum. More... | |
Class | getElementType () |
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.
Reimplemented in LoanableSequence.
Referenced by DynamicData.get_uint8_seq(), DynamicData.get_uint_seq(), DynamicData.get_ushort_seq(), and DynamicData.to_cdr_buffer().
Class getElementType | ( | ) |
Implements Sequence.
Reimplemented in AbstractPrimitiveSequence.
void add | ( | int | index, |
Object | element | ||
) |
Inserts the specified element at the specified position in this sequence.
Reimplemented in BooleanSeq, ByteSeq, CharSeq, DoubleSeq, FloatSeq, IntSeq, LongSeq, ShortSeq, and AbstractPrimitiveSequence.
Referenced by BytesSeq.copy_from(), KeyedBytesSeq.copy_from(), KeyedStringSeq.copy_from(), and FooSeq.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.