public class ClearableSynchronizedPool<T>
extends java.lang.Object
androidx.core.util.Pools.SynchronizedPool with the option to clear the pool (e.g. on
memory pressure).| Constructor and Description |
|---|
ClearableSynchronizedPool(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
T |
acquire() |
void |
clear() |
boolean |
release(T obj) |