![JAR search and dependency download from the Maven repository](/logo.png)
com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glide Show documentation
Show all versions of glide Show documentation
A fast and efficient image loading library for Android focused on smooth scrolling.
package com.bumptech.glide.load.engine.bitmap_recycle;
/**
* Adapter for handling primitive int arrays.
*/
@SuppressWarnings("PMD.UseVarargs")
public final class IntegerArrayAdapter implements ArrayAdapterInterface {
private static final String TAG = "IntegerArrayPool";
@Override
public String getTag() {
return TAG;
}
@Override
public int getArrayLength(int[] array) {
return array.length;
}
@Override
public int[] newArray(int length) {
return new int[length];
}
@Override
public int getElementSizeInBytes() {
return 4;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy