public final class IntegerArrayAdapter extends Object implements ArrayAdapterInterface<int[]>
Constructor and Description |
---|
IntegerArrayAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getArrayLength(int[] array)
Return the length of the given array.
|
int |
getElementSizeInBytes()
Return the size of an element in the array in bytes (e.g.
|
String |
getTag()
TAG for logging.
|
int[] |
newArray(int length)
Allocate and return an array of the specified size.
|
public String getTag()
ArrayAdapterInterface
getTag
in interface ArrayAdapterInterface<int[]>
public int getArrayLength(int[] array)
ArrayAdapterInterface
getArrayLength
in interface ArrayAdapterInterface<int[]>
public int[] newArray(int length)
ArrayAdapterInterface
newArray
in interface ArrayAdapterInterface<int[]>
public int getElementSizeInBytes()
ArrayAdapterInterface
getElementSizeInBytes
in interface ArrayAdapterInterface<int[]>