RTI Connext Java API Version 7.3.0
|
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... | |
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.