
class DoubleArrayAdapter extends Object implements NumberArrayAdapter<Double,double[]>
| Modifier | Constructor and Description |
|---|---|
protected |
DoubleArrayAdapter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
get(double[] array,
int off)
Deprecated.
|
byte |
getByte(double[] array,
int off)
Get the off'th item from the array as byte.
|
double |
getDouble(double[] array,
int off)
Get the off'th item from the array as double.
|
float |
getFloat(double[] array,
int off)
Get the off'th item from the array as float.
|
int |
getInteger(double[] array,
int off)
Get the off'th item from the array as integer.
|
long |
getLong(double[] array,
int off)
Get the off'th item from the array as long.
|
short |
getShort(double[] array,
int off)
Get the off'th item from the array as short.
|
int |
size(double[] array)
Get the size of the array.
|
protected DoubleArrayAdapter()
ArrayLikeUtil!public int size(double[] array)
ArrayAdaptersize in interface ArrayAdapter<Double,double[]>size in interface NumberArrayAdapter<Double,double[]>array - Array-like thing@Deprecated public Double get(double[] array, int off) throws IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<Double,double[]>get in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public double getDouble(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetDouble in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public float getFloat(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetFloat in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public int getInteger(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetInteger in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public short getShort(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetShort in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public long getLong(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetLong in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public byte getByte(double[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetByte in interface NumberArrayAdapter<Double,double[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.