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)
ArrayAdapter
size
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
ArrayAdapter
get
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
NumberArrayAdapter
getDouble
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public float getFloat(float[] array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getFloat
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public int getInteger(float[] array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getInteger
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public short getShort(float[] array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getShort
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public long getLong(float[] array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getLong
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public byte getByte(float[] array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getByte
in interface NumberArrayAdapter<Float,float[]>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.