Package org.esa.snap.core.util.math
Class Array.Double
java.lang.Object
org.esa.snap.core.util.math.Array.Double
- All Implemented Interfaces:
Array
- Enclosing interface:
Array
Class for wrapping
double primitive arrays.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.esa.snap.core.util.math.Array
Array.Double, Array.Float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcopyTo(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.final intReturns the length of the primitive array wrapped.final doublegetValue(int i) Returns the ith value of the array wrapped.
-
Constructor Details
-
Double
public Double(double... values)
-
-
Method Details
-
getLength
public final int getLength()Description copied from interface:ArrayReturns the length of the primitive array wrapped. -
getValue
public final double getValue(int i) Description copied from interface:ArrayReturns the ith value of the array wrapped. -
copyTo
public final void copyTo(int srcPos, double[] dest, int destPos, int length) Description copied from interface:ArrayCopies an array from the primitive array wrapped, beginning at the specified position, to the specified position of the destination array.
-