N
- Number typeA
- Array typepublic interface NumberArrayAdapter<N extends Number,A> extends ArrayAdapter<N,A>
Modifier and Type | Method and Description |
---|---|
N |
get(A array,
int off)
Get the off'th item from the array.
|
byte |
getByte(A array,
int off)
Get the off'th item from the array as byte.
|
double |
getDouble(A array,
int off)
Get the off'th item from the array as double.
|
float |
getFloat(A array,
int off)
Get the off'th item from the array as float.
|
int |
getInteger(A array,
int off)
Get the off'th item from the array as integer.
|
long |
getLong(A array,
int off)
Get the off'th item from the array as long.
|
short |
getShort(A array,
int off)
Get the off'th item from the array as short.
|
int |
size(A array)
Get the size of the array.
|
int size(A array)
ArrayAdapter
size
in interface ArrayAdapter<N extends Number,A>
array
- Array-like thingN get(A array, int off) throws IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<N extends Number,A>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.double getDouble(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.float getFloat(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.int getInteger(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.short getShort(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.long getLong(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.byte getByte(A array, int off) throws IndexOutOfBoundsException
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.