T - The type of object in the pool@Deprecated
public interface Pool<T>
Pool provides access to a pool of objects.| Modifier and Type | Method and Description |
|---|---|
T |
allocate()
Deprecated.
Allocates a new object from the pool.
|
void |
deallocate(T obj)
Deprecated.
Returns an object to the pool.
|