RTI Connext Java API  Version 5.0.0
AbstractSequence Class Referenceabstract

Abstract sequence. More...

Inheritance diagram for AbstractSequence:
Sequence AbstractPrimitiveSequence LoanableSequence BooleanSeq ByteSeq CharSeq DoubleSeq FloatSeq IntSeq LongSeq ShortSeq SampleInfoSeq BytesSeq KeyedBytesSeq KeyedStringSeq FooSeq

Public Member Functions

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.
 
- Public Member Functions inherited from Sequence
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 ()
 

Detailed Description

Abstract sequence.

Member Function Documentation

void add ( int  index,
Object  element 
)

Inserts the specified element at the specified position in this sequence.

See Also
java.util.List::add(int, java.lang.Object)
boolean add ( Object  element)

Appends the specified element to the end of this sequence.

See Also
java.util.List::add(java.lang.Object)
final Object remove ( int  index)

Remove the element at the given index by shifting all subsequent elements "left" by one.

See Also
java.util.List::remove(int)

RTI Connext Java API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc