public class ClearableSynchronizedPool<T>
extends java.lang.Object
android.support.v4.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) |