T
- the type of the instances to keep in the object pool.public class WeakObjectPool<T>
extends java.lang.Object
The provided implementation is thread-safe.
Constructor and Description |
---|
WeakObjectPool()
Constructs an empty pool.
|
public T get(T object)
object
- the object to look for.