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