public interface Array
| Modifier and Type | Interface and Description |
|---|---|
static class |
Array.Double
Class for wrapping
double primitive arrays. |
static class |
Array.Float
Class for wrapping
float primitive arrays. |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(int srcPos,
double[] dest,
int destPos,
int length)
Copies an array from the primitive array wrapped, beginning at the
specified position, to the specified position of the destination array.
|
int |
getLength()
Returns the length of the primitive array wrapped.
|
double |
getValue(int i)
Returns the ith value of the array wrapped.
|
int getLength()
double getValue(int i)
i - the array index.void copyTo(int srcPos,
double[] dest,
int destPos,
int length)
srcPos - starting position in the primitive array wrapped.dest - the destination array.destPos - starting position in the destination array.length - the number of array elements to be copied.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.