RTI Connext Java API  Version 5.3.0
 All Classes Namespaces Functions Variables Groups Pages
Sequence Support

The com.rti.dds.infrastructure.com.rti.dds.util.Sequence interface allows you to work with variable-length collections of homogeneous data. More...

Modules

 Built-in Sequences
 Defines sequences of primitive data type.
 

Classes

class  FooSeq
 <<interface>> <<generic>> A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo. More...
 
interface  Sequence
 <<interface>> <<generic>> A type-safe, ordered collection of elements. The type of these elements is referred to in this documentation as com.rti.ndds.example.Foo. More...
 

Detailed Description

The com.rti.dds.infrastructure.com.rti.dds.util.Sequence interface allows you to work with variable-length collections of homogeneous data.

This interface is a minimal extension to the standard java.util.List interface, making it easier to use RTI Connext alongside other Java APIs.

The java.util.List interface does not provide direct support for lists of primitive types. The Built-in Sequences provide extension APIs for working with collections of primitive elements without the overhead of boxing the unboxing.

When you use the rtiddsgen code generation tool, it will automatically generate concrete sequence instantiations for each of your own custom types.

See Also
http://java.sun.com/javase/6/docs/api/java/util/List.html

RTI Connext Java API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc