-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.engine.bitmap_recycle.ArrayAdapterInterface
public final class IntegerArrayAdapter implements ArrayAdapterInterface<Array<int>>
Adapter for handling primitive int arrays.
-
-
Method Summary
Modifier and Type Method Description StringgetTag()TAG for logging. intgetArrayLength(Array<int> array)Return the length of the given array. Array<int>newArray(int length)Allocate and return an array of the specified size. intgetElementSizeInBytes()Return the size of an element in the array in bytes (e.g. -
-
Method Detail
-
getArrayLength
int getArrayLength(Array<int> array)
Return the length of the given array.
-
getElementSizeInBytes
int getElementSizeInBytes()
Return the size of an element in the array in bytes (e.g. for int return 4).
-
-
-
-