RTI Connext Java API  Version 5.2.0
 All Classes Namespaces Functions Variables Groups Pages
ConditionSeq Class Reference

Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence < com.rti.dds.infrastructure.Condition > More...

Inherits AbstractNativeSequence.

Public Member Functions

 ConditionSeq (Collection conditions)
 Create a Condition Sequence with the given contents. The size and the maximum of the new sequence will match the size of the given collection.
 
 ConditionSeq ()
 Create a empty Condition Sequence with a initial maximum of zero.
 
 ConditionSeq (int initial_maximum)
 Create a Condition Sequence with the specified initial maximum.
 
- Public Member Functions inherited from AbstractNativeSequence
 AbstractNativeSequence (Class elementType, long nativeSequencePtr, int initialMaximum)
 
final void destroy ()
 
abstract Object get (int index)
 
abstract Object set (int index, Object element)
 
- Public Member Functions inherited from AbstractSequence
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractNativeSequence
long getNativeSequence ()
 
abstract void destroyNativeSequence (long nativeSequence)
 

Detailed Description

Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence < com.rti.dds.infrastructure.Condition >

Instantiates:
<<generic>> com.rti.dds.infrastructure.com.rti.dds.util.Sequence
See Also
com.rti.dds.infrastructure.WaitSet
com.rti.dds.infrastructure.com.rti.dds.util.Sequence

Constructor & Destructor Documentation

ConditionSeq ( Collection  conditions)

Create a Condition Sequence with the given contents. The size and the maximum of the new sequence will match the size of the given collection.

Parameters
conditionsThe initial contents of the sequence
Exceptions
NullPointerExceptionif the given collection is null

Create a empty Condition Sequence with a initial maximum of zero.

ConditionSeq ( int  initial_maximum)

Create a Condition Sequence with the specified initial maximum.

Parameters
initial_maximumThe initial maximum of the sequence.

RTI Connext Java API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc