public class ColorPool extends GenericPool<Color>
| Constructor and Description |
|---|
ColorPool() |
| Modifier and Type | Method and Description |
|---|---|
protected Color |
onAllocatePoolItem() |
protected void |
onHandleRecycleItem(Color pColor) |
batchAllocatePoolItems, getAvailableItemCount, getAvailableItemCountMaximum, getUnrecycledItemCount, obtainPoolItem, onHandleAllocatePoolItem, onHandleObtainItem, recyclePoolItem, shufflePoolItemsprotected Color onAllocatePoolItem()
onAllocatePoolItem in class GenericPool<Color>protected void onHandleRecycleItem(Color pColor)
onHandleRecycleItem in class GenericPool<Color>pColor - every item passes this method just before it gets recycled.