RTI Connext Java API
Version 6.1.1
|
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.LongDouble >
More...
Public Member Functions | |
LongDoubleSeq () | |
Constructs an empty sequence of long doubles with an initial maximum of zero. More... | |
LongDoubleSeq (int initialMaximum) | |
Constructs an empty sequence of long doubles with the given initial maximum. More... | |
LongDoubleSeq (double[] doubles) | |
Constructs a new sequence containing the given long doubles. More... | |
Public Member Functions inherited from DoubleSeq | |
DoubleSeq () | |
Constructs an empty sequence of doubles with an initial maximum of zero. More... | |
DoubleSeq (int initialMaximum) | |
Constructs an empty sequence of doubles with the given initial maximum. More... | |
DoubleSeq (double[] doubles) | |
Constructs a new sequence containing the given doubles. More... | |
final boolean | addAllDouble (double[] elements, int offset, int length) |
Append length elements from the given array to this sequence, starting at index offset in that array. More... | |
final boolean | addAllDouble (double[] elements) |
final void | addDouble (double element) |
Append the element to the end of the sequence. More... | |
final void | addDouble (int index, double element) |
Shift all elements in the sequence starting from the given index and add the element to the given index. More... | |
final double | getDouble (int index) |
Returns the double at the given index. More... | |
final double | setDouble (int index, double element) |
Set the new double at the given index and return the old double. More... | |
final void | setDouble (int dstIndex, double[] elements, int srcIndex, int length) |
Copy a portion of the given array into this sequence. More... | |
final double [] | toArrayDouble (double[] array) |
Return an array containing copy of the contents of this sequence. More... | |
final int | getMaximum () |
Get the current maximum number of elements that can be stored in this sequence. More... | |
final Object | get (int index) |
A wrapper for getDouble(int) that returns a java.lang.Double. More... | |
final Object | set (int index, Object element) |
A wrapper for setDouble(). More... | |
final void | add (int index, Object element) |
A wrapper for addDouble(int, int). More... | |
Public Member Functions inherited from AbstractPrimitiveSequence | |
final Class | getElementType () |
void | loan (Object buffer, int new_length) |
Loan a contiguous buffer to this sequence. More... | |
void | unloan () |
Return the loaned buffer in the sequence and set the maximum to 0. More... | |
final boolean | hasOwnership () |
Return the value of the owned flag. More... | |
final void | clear () |
final void | setSize (int newSize) |
final int | size () |
final Object | copy_from (Object src) |
Public Member Functions inherited from AbstractSequence | |
void | setMaximum (int new_max) |
Resize this sequence to a new desired maximum. More... | |
Class | getElementType () |
void | add (int index, Object element) |
Inserts the specified element at the specified position in this sequence. More... | |
boolean | add (Object element) |
Appends the specified element to the end of this sequence. More... | |
final Object | remove (int index) |
Remove the element at the given index by shifting all subsequent elements "left" by one. More... | |
Instantiates com.rti.dds.infrastructure.com.rti.dds.util.Sequence
< com.rti.dds.infrastructure.LongDouble >
LongDoubleSeq | ( | ) |
Constructs an empty sequence of long doubles with an initial maximum of zero.
LongDoubleSeq | ( | int | initialMaximum | ) |
Constructs an empty sequence of long doubles with the given initial maximum.
LongDoubleSeq | ( | double [] | doubles | ) |
Constructs a new sequence containing the given long doubles.
doubles | the initial contents of this sequence |
References AbstractPrimitiveSequence.size().