P - Self typepublic static interface RecyclerPool.WithPool<P extends RecyclerPool.WithPool<P>>
| Modifier and Type | Method and Description |
|---|---|
void |
releaseToPool()
Method called when this item is to be released back to the
pool that owns it (if any)
|
P |
withPool(RecyclerPool<P> pool)
Method to call to add link from pooled item back to pool
that handles it
|
P withPool(RecyclerPool<P> pool)
pool - Pool that "owns" pooled itemvoid releaseToPool()
Copyright © 2008–2023 FasterXML. All rights reserved.