DataReaderSeq Class Reference
[DataReaders]

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

Inherits AbstractNativeSequence.

List of all members.

Public Member Functions

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


Detailed Description

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

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

Constructor & Destructor Documentation

DataReaderSeq ( Collection  readers  ) 

Exceptions:
NullPointerException if the given collection is null


Member Function Documentation

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 Sequence.setMaximum.

Returns:
the current maximum of the sequence.
See also:
Sequence.size()

Implements Sequence.


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc