public class DoubleArrayAdapter extends java.lang.Object implements NumberArrayAdapter<java.lang.Double,double[]>
double[] in the ArrayAdapter API.
This class is generated from a code template.| Modifier and Type | Field and Description |
|---|---|
static DoubleArrayAdapter |
STATIC
Static instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DoubleArrayAdapter()
Private constructor - use the static instance in
STATIC! |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
public static final DoubleArrayAdapter STATIC
protected DoubleArrayAdapter()
STATIC!public int size(double[] array)
ArrayAdaptersize in interface ArrayAdapter<java.lang.Double,double[]>size in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array-like thing@Deprecated
public java.lang.Double get(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<java.lang.Double,double[]>get in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public double getDouble(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetDouble in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public float getFloat(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetFloat in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public int getInteger(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetInteger in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public short getShort(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetShort in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public long getLong(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetLong in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.public byte getByte(double[] array,
int off)
throws java.lang.IndexOutOfBoundsException
NumberArrayAdaptergetByte in interface NumberArrayAdapter<java.lang.Double,double[]>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.Copyright © 2019 ELKI Development Team. License information.