RTI Connext Java API Version 7.1.0

Declares IDL sequence < com.rti.dds.subscription.DataReader > . More...

Inherits AbstractNativeSequence.

Public Member Functions

 DataReaderSeq (Collection readers)
 
int getMaximum ()
 Get the current maximum number of elements that can be stored in this sequence. More...
 

Detailed Description

Declares IDL sequence < com.rti.dds.subscription.DataReader > .

See also
com.rti.dds.infrastructure.com.rti.dds.util.Sequence

Constructor & Destructor Documentation

◆ DataReaderSeq()

DataReaderSeq ( Collection  readers)
Exceptions
NullPointerExceptionif the given collection is null

Member Function Documentation

◆ getMaximum()

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.

Returns
the current maximum of the sequence.
See also
com.rti.dds.infrastructure.com.rti.dds.util.Sequence.Sequence.size()

Implements Sequence.