
class FloatArrayAdapter extends Object implements NumberArrayAdapter<Float,float[]>
| Modifier | Constructor and Description |
|---|---|
protected |
FloatArrayAdapter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Float |
get(float[] array,
int off)
Deprecated.
|
byte |
getByte(float[] array,
int off)
Get the off'th item from the array as byte.
|
double |
getDouble(float[] array,
int off)
Get the off'th item from the array as double.
|
float |
getFloat(float[] array,
int off)
Get the off'th item from the array as float.
|
int |
getInteger(float[] array,
int off)
Get the off'th item from the array as integer.
|
long |
getLong(float[] array,
int off)
Get the off'th item from the array as long.
|
short |
getShort(float[] array,
int off)
Get the off'th item from the array as short.
|
int |
size(float[] array)
Get the size of the array.
|
protected FloatArrayAdapter()
ArrayLikeUtil!public int size(float[] array)
ArrayAdaptersize in interface ArrayAdapter<Float,float[]>size in interface NumberArrayAdapter<Float,float[]>array - Array-like thing@Deprecated public Float get(float[] array, int off) throws IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<Float,float[]>get in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public double getDouble(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetDouble in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public float getFloat(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetFloat in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public int getInteger(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetInteger in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public short getShort(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetShort in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public long getLong(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetLong in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.public byte getByte(float[] array,
int off)
throws IndexOutOfBoundsException
NumberArrayAdaptergetByte in interface NumberArrayAdapter<Float,float[]>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.